I have been using React for more than a year now. As I started discovering more in react, I came across the difficulty in managing state through components.
State management refers to managing one or multiple UI states based on user interaction within the components (same or different).
State management can be divided into two different types based on the scope of access as follows:
Let’s understand local state management in both function components as well as class components.
Local State management helps to maintain the state within the…
Keen to learn new technologies !!