State Management
Redux Principles
Redux is built on three principles:
1. Single source of truth
- One store holds the whole state tree
2. State is read-only
- State changes only via
dispatch(action)
3. Changes are pure
- Reducers compute new state without side effects