React Hook - How to handle object / nested object state

preview_player
Показать описание
Happy New Year! Wish you a happy & healthy year wherever you are.

[Shortcut]
00:01 - Intro
00:37 - Example 1- intro
00:50 - Example 2 - intro
01:35 - App we're building today
01:45 - Example 1 - coding / explanation
04:35 - Example 2 - coding / explanation
Рекомендации по теме
Комментарии
Автор

Great, easy-to-understand video! I would say the solution you provided here is very straightforward! Keep up the good work!

devshake
Автор

Thanks it was very helpful for finding a comprehensive solution on nested state object using functional component

apoorvgupta
Автор

this help me a lot, thank you so much

finschbelserion
Автор

very helpful really i was just with this trouble of the second ...prev state thanks a lot

nullebeats
Автор

Thank you much this was such a great video. I was at my wits end trying to figure this out lol.

Tgohanssj
Автор

Thanks for this! Was wondering if you still planned to release an Array State video? Thanks!

craigjcowan
Автор

This is interesting. Is there no way to handle all parts of the nested object with just one handler statement? Does each node or child need it's own handler?

kmcg
Автор

mam can you show how to do this in react Javascript, got it with typescript

rjgupta
Автор

you dont need 3 onChange functions to update the nested object (profile). You can write 1 onChange that will take care of all scenarios

agdmnm