Redux är en förutsägbar state container byggd på tre kärnprinciper: en enda store, skrivskyddad state som bara ändras via actions och rena reducers som beräknar nästa state. Data flödar åt ett håll, vilket gör ändringar spårbara.
De tre principerna
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
