The Redux API provides for monitoring and adjusting the state store using a middleware API. Middleware APIs can intercept requests to execute actions and generate side-effects. Common uses of Redux Middleware include: Persisting Redux state to local storage and restoring it on startup Logging actions and pre/post state for each dispatch Asynchronous processing in action … Read More
There are a few basic strategies for managing state in Redux, and which ones you use depend on the level of language support an other APIs you have at your disposal. Here are four approaches: using a collections API, Object.assign, Immutable.js and the ES spread operators.
The first in a series of posts about Redux, the de-facto state storage engine for React, and how to integrate it with a React app. In this first article we make a case for Redux over passing props for events and data, and show a simple configuration.
There are several projects that have been bringing a reducer-based state store to Angular, namely @ngrx/store by Rob Wormald, and angular-redux/ng2-redux. Both teams are developing APIs in the style of Redux, which is a functional-programming-driven immutable state store, using reducer functions and a dispatching mechanism to handle changes in state. Let’s see how they work.