All language subtitles for 7. More watchers

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) Download
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

Hey, guys, welcome back here.

In the previous lecture, we have created a new composition and function.

We are calling Keels out, which returns are competent properties in this lecture.

I like to show you that you can react to these complex properties of the changes or the values.

Let's start.

Let's see, I registered of you and I already introduce you vouchers, but I'll talk about them a little

bit tomorrow.

So you have an overview of them and you will see what I want to do.

So what I want to do in this lecture is just simply display the message.

When we are getting the error and when we successfully register, I would like to redirect we are to

our homepage.

OK, so let's do it.

For this reason, I will create here a voucher.

So right here, watch.

All right.

And we'll be watching here, Arora, although I can't watch it or remember, I have access to computer

properties or whatever I'm returning from years I have access to so I can react to the changes of communal

properties, error and is processing.

So enregistre I can watch that error of values as they are changing, so I can check here at our message.

OK, and I can check if I have an error message that simply display me alert and elevate his message

out.

So message here.

OK, even if I don't check here for a message, then I will check also for empty messages of anybody

starting this state before register, and I don't want to do that.

So just watch whenever you have some message.

OK, let's save it to let's go here and yell at submit and sign up, and you can see we are getting

here now at Ah, so that's how you can watch the now changes of the error.

And if I would remove this message here, if statement at all, I would react to have a change over

the message.

So even beyond that, we are starting to, for example, and I will go here, sign up.

OK.

Sign up, you can see empty message here.

All right.

So be sure you are making you have a statement here to check if you have some error message.

And the other thing too, how to redirect.

I will show you first.

Not ideal way will handle it very, very simply.

And after that, I will be doing some refactoring, but in the there lectures.

So for now, you can watch two is processing is processing.

So how do we know that they are successfully registered?

We are successfully registered in these two cases.

Is processing is processing must be false.

OK.

It must be false because we we should we should finish processing orchestration.

So processing has to be false.

Also, the previous state of the processing should be true.

So we should be processing first of anyone to register and after that, after we register the processing,

the toggle to the false.

So previous processing should be true.

So we should be processing there.

We should be finished processing and we shouldn't have any errors.

So that's very important.

And the error should be we should not have any error case or industry case as we would like to redirect

to the other page, let's say two home page.

So.

He's processing is currently false, but you have been processing previously and we don't have any arrows

done even to redirect.

So let's drop it in the multiple and regulative statement and override here.

OK, so from its processing, we can get it, we can get the values of this processing.

OK, they can get here, values their current value and also previous value, as I showed you with the

voucher watchers already before.

So the value of processing and previous processing was.

That's how we can get the values and it will be larger if processing is true.

So it's equal to true how you can deliver it.

You can be it that simply, if processing this statement can be just if you have the processing and

previous processing is equal to false, how you can rewrite it.

You can simplify it here, exclamation mark in front of it and you can remove this part.

OK, so if processing is currently oh, actually other way around, the guys, if processing is false.

OK, so that's what I did.

Buy more time if processing is false.

So the processing processing currently.

And how they can anybody, they can write the question about in the front of this and previous processing

is true, so they have been processing.

OK?

And we don't have any errors.

So if that exclamation mark and we don't have any errors, so we can check here if we don't have any

error like this and we don't have any error.

Remember exclamation mark in front?

And I can safely say now that we have the energy to start and I can redirect the other page to congratulate

this.

Nobody can access their globally accessible property around their.

They're out there and they can try their push OK and push the better of a specified path.

And since they're going to home page in this case, almost as if they are empty pop like this and this

is what gets me to home page.

So that's what you can do in this case.

Please, let's save it.

Let's try it out.

So go here.

Let me finish, and I'll let you throw my 11 to use there at 11 a.m. to come test 11 a password.

Test.

Test, test.

Test.

Let's signup.

And I that I should go to one page.

Yeah.

So to this four, I can I can go back to register and I can try to display errors.

Yeah, it's parking lot.

Okay, so that's a good idea from his lecture.

Just a very simple handling of errors and also redirect functionality.

Of course, we'll improve it in the next two lectures.

So let's continue with the next lecture.

I hope to see you later.

Yes.

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