Utilities for Redux selectors.
- Source:
Methods
(static) makeMapStateToProps(propsMap) → {function}
- Source:
- Since:
- 0.0.2
Helper to build the mapStateToProps
function for react-redux
bindings.
The propsMap
parameter is an object having as keys
the property names of a React component, and as values selectors accessing
the relevant portions of the redux store.
Parameters:
Name | Type | Description |
---|---|---|
propsMap |
Object |
Returns:
- Type
- function