Flux Architecture and Redux
viaLeetCode
Question: Explain the Flux architecture, and why did you use Redux?
Expected discussion: Flux enforces unidirectional data flow: Actions -> Dispatcher -> Stores -> View, avoiding the two-way binding complexity of MVC in large apps. Redux is a popular implementation of Flux-like ideas with a single global store, pure reducer functions, and actions describing state changes, which makes state changes predictable, testable, and debuggable (e.g. via time-travel debugging).
asked …