React JS / Local State Management

Local State Management in React JS

Local State Management in React JS
Local State Management in React JS
Local State Management in React JS

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:

  1. Local State Management(Part I)
  2. Global State Management(Part II) - Coming soon!!

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…

Darshan Jain

Keen to learn new technologies !!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store