Releases: acdlite/redux-rx
Releases · acdlite/redux-rx
Redux 1.0 compatibility
Preparing for Redux 1.0
v0.4.0-alpha is a prerelease version, updated for compatibility with upcoming Redux 1.0 release.
npm install redux-rx@prerelease
Thanks to @frederickfogerty (#4)
createConnector()
This release includes a new function createConnector()
, which allows you to create Connector-like React components by transforming sequences of props and the store state (and a sequence of dispatch
s, for correctness).
(props$, state$, dispatch$) => childProps$
createConnector()
is actually a thin layer on top of react-rx-component, which is a generalized form of the same concept.
Also new is a special version of bindActionCreators()
that accepts either a dispatch function or a sequence of dispatch functions, useful for inside createConnector()
.
import { createConnector } from 'redux-rx/react';
import { bindActionCreators } from 'redux-rx;