Why you can't change state directly in React?

Why you can't change state directly in React?

Juriy Bura

4 года назад

8,124 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@pratikwadekar4981
@pratikwadekar4981 - 28.04.2022 21:38

So if we use bad way of updating state and instead of using PureComponent use normal component by implementing shouldComponentUpdate on our own and doing deep comparison of objects then re-renders should happen right?

Ответить
@cryptic1692
@cryptic1692 - 26.04.2022 01:35

watch react for hater in 100s you ll find vue is the king

Ответить
@FISS007
@FISS007 - 04.03.2022 15:10

Excellent in depth explanation !
This makes me appreciate Angular even more since all these considerations simply don't exist in Angular since it renders and update everything as expected.

Ответить
@wilhelmpaulm
@wilhelmpaulm - 12.02.2022 20:29

Please keep doing what you're doing

Ответить
@consciousmi4842
@consciousmi4842 - 18.05.2021 19:42

good material, thanks for uploading

Ответить
@priyankadey3337
@priyankadey3337 - 12.02.2021 17:30

Awesome explanation!

Ответить
@vadimsobolev1285
@vadimsobolev1285 - 17.12.2020 12:30

Здравствуйте, подскажите в видео мы сделали копию стейта для объекта data, а почему мы не сделали таким же способом копию для свойства otherProp?)
Получается что сейчас мы через setState меняем otherProp напрямую?)

Ответить
@brucelee7782
@brucelee7782 - 25.08.2020 17:59

awesomeeeeeeee! This should have more views

Ответить
@YellowMiniCooper2
@YellowMiniCooper2 - 30.06.2020 13:55

Only the item will change color ?

Ответить
@evgeniychip
@evgeniychip - 16.05.2020 18:17

Учился по твоему курсу на Udemy, Юр Ты лучший! Я устроился на стажировку благодаря твоему курсу, спасибо!

Ответить
@taulantus
@taulantus - 25.04.2020 17:21

Hey Juriy, your way of explaining things is so refreshing, Salute to that. I have a question though? when can we get a new video on the node deployment series?

Ответить
@tofuman9526
@tofuman9526 - 20.04.2020 15:27

Why no more videos?
I can't express enough how much your videos helped me, specifically your Nginx/DO/etc series

Ответить
@stephencurry8078
@stephencurry8078 - 27.03.2020 16:14

Есть курсы на русском?)

Ответить
@radustefan7963
@radustefan7963 - 09.02.2020 00:01

Hey Juri why don't you make a course on redux, react, and maybe real life examples of work you do day to day ...best practices .. and basically everything you know and you know to have value and add it into a course.. on udemy or any other platform of choice.. that would be great. I know you have a course in Russian already.. but I don't understand a word yet :D I should learn the language first lol.

Ответить
@tofuman9526
@tofuman9526 - 02.11.2019 23:32

Why no follow up on the Jenkins examples?
And also, what do you think about using something like Codeship instead of configuring Jenkins?

Ответить
@hamsteroncoffee
@hamsteroncoffee - 28.10.2019 23:34

O.M.G. that was so eye-opening!!! Thank you for this incredible video!! THANK YOUUUUU :)

Ответить
@atmospheric_b
@atmospheric_b - 28.10.2019 17:26

Thanks a lot! Very interesting

Ответить
@dedystyawan9643
@dedystyawan9643 - 28.10.2019 10:15

hello Juriy can you try it using hooks?

Ответить
@shubhamsingla2120
@shubhamsingla2120 - 28.10.2019 08:16

Just another master piece of information

Ответить
@RahulGupta04
@RahulGupta04 - 28.10.2019 06:52

Good work

Ответить
@evgenypronin9760
@evgenypronin9760 - 28.10.2019 03:09

I enjoy your english!
Nice good lecture.

Ответить