redux

Redux is a predictable state container for JavaScript apps.

Testing

Workshops

Reducers

Reducers specify how the application’s state changes in response to actions sent to the store.
Remember that actions only describe the fact that something happened, but don’t describe how the application’s state changes.

Middlewares

Middleware provides a way to interact with actions that have been dispatched to the store before they reach the store’s reducer. Examples of different uses for middleware include logging actions, reporting errors, making asynchronous requests, and dispatching new actions. Source

Interesing middlewares

Articles

Typescript

Libraries

https://github.com/cloudflare/redux-grim

Frameworks

Libraries

Videos

Libraries

Snippets

Execute several redux actions in serial using Promises

1
2
3
4
5
6
7
8
handleChange(date) {
Promise.resolve(
this.props.dispatch(setApplicationDate(date))
)
.then(() => {
this.props.afterSelect()
})
}

Comments

⬆︎TOP