-
What are the three principles of Redux?
The three principles of Redux are:
- Single source of truth: The state of an application is stored in a single object tree within a store.
- State is read-only: The only way to change the state is by dispatching an action, which is a plain JavaScript object describing the change.
- Changes are made with pure functions: To specify how the state tree is transformed by actions, you write pure reducers.
Be The First To Comment