A practical guide to adding Flow type-checking to a Redux setup in React. Covers typing actions with union types, reducers using a helper pattern, automatically deriving state types from reducers, store and dispatch types with redux-thunk middleware support, action creators, and container components using mapStateToProps and mapDispatchToProps.

6m read timeFrom callstack.com
Post cover image
Table of contents
Type-check actionsType-check reducersType-check stateType-check storeType-check action creatorsType-check containers

Sort: