Best practices in ReactJs for State Management

What's considered the best practice in the React v16.x or later for state management?

  • Using Functional components and Hooks
  • Using Class components & this.state (setState)
  • Using Redux
  • Comment if there's any more approach
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown 路 Publish articles on custom domain 路 Gain readership on day zero 路 Automatic GitHub backup and more

Comments (1)

Omowunmi Sogunle's photo

Hi ,

Context API, Mob X are also used to manage states in React.

It really depends on your personal preference and the project you're working on to choose the best state management approach that works for you.

Hope this helps.