react-redux-rp
The awesome, declarative render props version of connect
Install
npm install --save react-redux-rp
Usage
import Connected from 'react-redux-rp'; // Function as a child component<Connected ="count" => state actions <Fragment> <div>count: state</div> <button =>+</button> <button =>-</button> </Fragment> ; </Connected>; // or you can use render props<Connected ="count" // ; . = // . =/>
License
MIT © xJkit