All language subtitles for 3. Use Ref

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

In Dallas lecture, we have talked about a company that properties in this lecture would look to talk

more about the reactivity of the villagers.

Let's begin inspecting our data in the home, not you.

Let's see the data here, and I will separate the counter value into its own variable up here because

I would like to create a duplicate of the count.

But right here comes the count.

It will be value.

10.

OK, I will provide here the value from the council.

Like this?

OK, so we can see we are providing is a value here.

It can also ride like this, and then I a light other account of their account, and this will be the

getting value also from the account.

OK, so both of them will be initialized with the value 10.

Now we have also other accounts here.

So on display also other account.

I'll go up here and I will display here under this div.

Their account, their account, and it'll be the other account.

So what do you think the net will be incrementing the account to think that other accounts will be changing?

Let's take a look.

And when I look at your increment, you can see, of course, is not changing because of the small increment

thing is not the other count.

But in our income and function of our income, I think only the count.

So what we can do in order to basically link these two values together have an update, the one, the

also other abominable update.

That's where is.

You will use something called the ref.

OK, let's get to the airport in Port Patrick, and let's import here from view import.

All right.

From.

From U K and the ravages simply function, slowly lose their function there, and we'll wrap this in

then here, OK?

And that's it.

OK, that's it, guys.

Not only will say that they will go to oppose any increment.

You can see now both of your values are changing.

So as you could see now, I am not changing really the other account and not really, I'm not really

doing it here.

I just changing the count.

But since I have created year value four for the wallet companies that are now.

But he turned to the right faction, and I'm sending it to the commandant and other account, this values

are copied this way that basically they're referencing the value think OK, because what I am returning

here is not really the real value.

The number 10, but it's basically object and has a value properly.

I'll show you why they're at the Bagheera.

I hope I will be able to see debug error.

Oh, OK, we don't.

We can't have here the elevator with you.

Back your statements because of the excellent.

All right, so let's prevent this here, let's go to Becky to Jason.

Go to sleep lead rules, a little variety that you would like to buy today by get us a lot of, I don't

know, debugger and let's write the bill, disable this roll slide here.

Zero.

Reiterate now are a cold, so go to your terminal, go right out and look around here again and parents

set, no, I should walk with a debugger as well.

OK, perfect.

The browser was refreshed here, maybe a couple of times to reflect in order to see our code.

But you can see that the nothing here is not really there.

It's not really the value of the 10, but it's actually object in which you have this value property,

which is the value of that.

But the Jazz is interpreting it as a value tensor.

You donate to all the time, right?

The total value.

OK, but I guess it would work if I would go back here and I would like to, I would like to access

this object now right here, though the value, I guess this would work other account of the value.

OK.

Well, actually, this vote on these were doing work at all.

My mistake?

OK, guys.

But my point here is that.

But you are getting here from the ref is not the URL value.

But it's an object that is dropping your value.

OK.

And that's why you can change it.

If you understand this concept, you can go to the next lecture, guys.

I will show you now why it's working and yeah, we'll show you more explanations of this.

For example, I've opened here console.

Allocated here two values, right, I will create here, let you not say my number is 10.

All cleared here, I'll let my other number.

No, it's not my other number is my number and they're my number.

So my number and my other number will be 10, because I said to them, my other number, my number of

which is holding value 10.

So my number is 10.

And also my other number is that.

But then I will be changing my numbers over there.

My number is equal to one thousand.

Then my number will be 1000, but my other number, they'll be still 10 because this copy, this called

copying by value, but you are copying by value, you are creating the new copy of the value.

OK, but when you are copying the objects or errors, they are copied by the reference.

What does it mean?

I will show example.

I will just reiterate here so I can again defend.

Here are my number right here, my number.

But in this case, my number you'll be there are value.

But will the object that will hold the value of 10?

I will create him led to my other number, and this will hold the value of my number.

So as in the previous example, my number and my other number, they're holding the boat value.

10.

But here I copied by the reference boat, which means that both my number and my other number, they're

pointing to the same spot into the memory, which holds this object value of 10.

OK.

So both of these?

My number.

And my other number, they're pointing to the same thing in a memory.

So if I will increment one, I will also increment the other.

Durbin, I'll show you.

So the I right here now, my no dollar value.

Plus plus products like what they like it, it's not a plus plus it's a little porky or in this case,

it looks like my number of value is equal to one thousand.

Now, my number will be very 1000, and most of my other number will be valuable thousand.

OK.

And the same thing other where I've been able to go for my other number, the value is equal to five

hundred.

Then my other number really value of 100 and also my number will be five.

And that's a similar to the thing what's happening?

What's happening here?

OK.

So that's why in the first case, you couldn't see that they are getting actual up.

They took the other account, but they are updating only the count there.

If we are just basically waiting, that is the proper object around the value.

The View is handling it behind the scenes and providing it as their own value for us on the screens.

But in the background, does it object?

OK, I hope this is clear, if any, corrections to it, you know what to do and let's continue into

next year.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.