Home » Education » Understanding state in ReactJS

Understanding state in ReactJS

Written By Daniel Noworyta on Saturday, Dec 31, 2022 | 10:00 AM

 
Understanding state in ReactJS is my tryout to explain how state works behind the doors. In this episode you gan get better grasp on topics like: - what is state? - when you need state? - what useState hook gives us? - why you should think on state as a snapshot? - what is batching? - how react queues state updates? - updating objects in state - updating arrays in state Links: https://beta.reactjs.org/learn/adding-interactivity https://immerjs.github.io/immer/ 📬 [email protected]