In this video, we are going to learn about three things, every react developer should know about SetState()
1. Do Not Modify State Directly, use setState()
2. State Updates Is Asynchronous, so if you want to use updated value of state after updating state use callback function of setState()
3. State Updates are Merged means react batch multiple setState() calls into a single update for performance.
How to install Snippets in vs code for Reactjs:
• How to install Snippets in VS Code For Rea...
Common Errors in react app development :
• React For Beginners : Common Errors Everyo...