reusable-react-redux

Library to facilitate building reusable react redux components.


Keywords
reusable, react, redux, connected, component
License
MIT
Install
npm install reusable-react-redux@0.0.6

Documentation

Reusable React Redux

Library to facilitate building reusable react redux components.

Travis npm

Why?

  1. We can do better than specifying yet-another-reducer when reusing an existing connected component.
  2. We can do better than re-implementing an existing connected component in order to use a different slice of the store.

How?

  1. Higher-order reducer to programmatically choose store slice.
  2. Specify store slice selector as property to connected component.