redux-features-ng2
v2.0.1
Published
Adds featureability to redux when used with ng2.
Downloads
13
Readme
redux-features-ng2
redux-features-ng2 is a bunch of utilities, which helped me setting up my projects with redux and angular2. It provides functionalities to setup a feature based redux store.
It solved the following problems I had:
- lot of boilerplate code in reducer functions
- not having a place to put asynchronous api usage to
- problems using redux in a feature based application
Reducer
To get rid of the boilerplate code in reducer functions, I created a hand full decorators which enables us to use class-based reducers.
@Reducer(...)
decorator
tbd
@ActionReducer(...)
decorator
tbd
Middleware
tbd
@Middleware(...)
decorator
tbd
@ActionMiddleware(...)
decorator
tbd
Features
tbd