that comes from the server and whether it's pending or resulted in an error • UI state like toggles, alerts and errors messages • User input, filters and search queries • Other
in JavaScript applications. • It places a focus on creating explicit and understandable update paths for your application's data • Helps tracing changes during development and makes bugs easier to track down and fix
core principles of Flux by having unidirectional data flow • Redux applications have only one global, read-only application state • This state is calculated by "reducing" over a collection or stream of actions that update it in controlled ways
updates • High Order Reducers - Functions that take reducer as argument, take some additional arguments and return another reducer. • Selectors - Takes the whole states and returns a derived state
Really helpful dev-tools (time travel) 3. Good code separation 4. Fast bug fixing due to 1, 2 and 3 5. Easier testing and reasoning due to pure functions and composition 6. Better angular performance with OnPush Strategy 7. More files and code