Should I keep all component's state in Redux store?

  • Yes, it is recommended to keep all component state in the Redux store
  • No, it is recommended to keep only the necessary state in the Redux store
It is not recommended to keep all component state in the Redux store. While Redux is useful for managing state in large applications, it can also add unnecessary complexity and boilerplate code to small applications. It is recommended to keep only the necessary state in the Redux store and use component state for simpler state management needs.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *