Redux is een voorspelbare state container gebouwd op drie kernprincipes: een single store, read-only state die alleen via actions wordt gewijzigd, en pure reducers die de volgende state berekenen. Gegevens stromen op één manier, waardoor wijzigingen traceerbaar zijn.
De drie principes
1. Single source of truth — the whole app's state lives in ONE store object
2. State is read-only — you never mutate it; you DISPATCH actions to change it
3. Changes via pure reducers — (state, action) => newState, no side effects
