Elm Architecture is an architectural pattern inspired by Ocaml and Haskell that uses immutability and pure functions. It was first used in games and features a unidirectional data flow with an immutable model. Frameworks like Redux, Cerebral, and Cycle.js were influenced by Elm Architecture. Redux is commonly used with React applications and features a single source of truth, read-only state, and changes made with pure functions and reducers/actions. Redux provides tools for inspecting state, actions, and debugging reducer code.
Related topics: