Redux
Last updated
Last updated
Look at redux_toolkit.md for the modern usage
1) The of your application is stored in an object tree within a single .
2) The only way to change the state is to emit an , an object describing what happened.
3) To specify how the state tree is transformed by actions, you write pure . (pure means no random or async)
You have large amounts of application state that are needed in many places in the app
The app state is updated frequently over time
The logic to update that state may be complex
The app has a medium or large-sized codebase, and might be worked on by many people