Flux punika pola arsitektur (saking Facebook) kanggo ngatur pangkat data ngangge aliran data unidireksional (sapisan ragad). Menika dadi dhasar konseptual kanggo Redux lan nangaruhi akeh-akeh perpustakaan state management modern. Ide pokok: data alir dhumateng sawijining arah ingkang tunggal lan bisa dipunramalaken.
Siklus unidireksional
Action → Dispatcher → Store → View
↑ │
└───────────────────────────────────┘
(user interaction creates a new Action)
1. Action — a plain object describing WHAT happened ({ type: 'ADD_TODO', text })
2. Dispatcher — a central hub that sends every action to the stores
3. Store — holds state + logic; updates itself in response to actions
4. View — renders from the store; user interactions dispatch new actions
