When we have nested state objects in React, it becomes difficult to update a particular property in a nested object. Learn more on how to easily update the state in nested object.
State update is done asynchronously in React. So it is important to understand the difference between passing function or object to setState function.
You can define React components as class or functions. We are going to learn the difference in terms of state, hooks, refs and lifecycle methods.