Often confused with Redux. Redux is the name of a library, Flux is the name of the pattern that Redux and Fluxor implement.
Rules
- State should always be read-only.
- To alter state our app should dispatch an action.
- Every reducer that processes the dispatched action type will create new state to reflect the old state combined with the changes expected for the action.
- The UI then uses the new state to render its display.