Home > Software engineering >  What is the most effective way of State Management in Enterprise level React Application
What is the most effective way of State Management in Enterprise level React Application

Time:09-28

I am totally confused about how to manage the application level state in React. I have an enterprise-level application frontend that has some data that is used across application.

Should I use Redux or react hooks or my own JavaScript code that manages the state?

CodePudding user response:

If you are going to need to share the state across a lot of components then you could use either Redux or useContext hook (more Simpler and easy to understand than Redux).

CodePudding user response:

If you have a lot of data (configurations etc) to be shared by multiple components on different hierarchy levels then I will recommend you to use redux-toolkit

  • Related