Why you can't change state directly in React?

preview_player
Показать описание
One of the "main" rules of React - never change the state directly? But do they ever tell you why?
Рекомендации по теме
Комментарии
Автор

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

tofuman
Автор

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.

FISS
Автор

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

tofuman
Автор

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

evgeniychip
Автор

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?

taulantus
Автор

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

hamsteroncoffee
Автор

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

vadimsobolev
Автор

I enjoy your english!
Nice good lecture.

evgenypronin
Автор

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?

pratikwadekar
Автор

Please keep doing what you're doing

wilhelmpaulm
Автор

Just another master piece of information

shubhamsingla
Автор

hello Juriy can you try it using hooks?

dedystyawan
Автор

Помогите пожалуйста с ошибкой, после подготовки React проекта и прописав npm start

igormuryy
Автор

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.

searchingForMinimalism
Автор

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

cryptic