Open viphat opened 6 years ago
https://redux.js.org/faq/organizing-state
https://github.com/reduxjs/redux/issues/1287
setState()
Using local component state is fine.
Some common rules of thumb for determining what kind of data should be put into Redux:
https://redux.js.org/faq/organizing-state
https://github.com/reduxjs/redux/issues/1287
Do I have to put all my state into Redux? Should I ever use React's
setState()
?Using local component state is fine.
Some common rules of thumb for determining what kind of data should be put into Redux: