The reduxr
libraries are little utilities to help streamline Redux applications.
- reduxr-obj-actions Automatically types action helpers and binds them to dispatch
- reduxr-obj-reducer Removes boilerplate from reducers by converting objects into a reducer function
- reduxr-reducer-helpers A set of utility functions for dealing with common reducer data manipulations
- reduxr-scoped-reducer A helper function for scoping a reducer to actions that begin with a certain prefix
- reduxr-async Ajax helpers
Look at examples/todos
for a demonstration of reduxr
. The todos
example
is taken directly from the redux repo.
Here is a diff showing the todos example before and after reduxr
was integrated.
Run the example as follows:
git clone [email protected]:chrisdavies/reduxr.git
cd reduxr/examples/todos
npm install
npm start
open http://localhost:3000/
MIT