redux-epics-decorator
A Dumb wrapper for redux 💚 redux-observable 💚 react-redux 💚 redux-actions 💚 injection-js
Features
- 🚀 Less boilerplate codes
- 🦄 No magic string
Action Types
- 💚 Type Safe, typecheck in Payload
- ⛏ Go to definition, go to your Reducer/Epics with one click
- 🖇 Easy to intergrate into existed redux-observable or other redux middlewares
but which more important is:
Dependeicies
yarn add redux redux-observable rxjs redux-actions react-redux
yarn add redux-epics-decorator
Full example project
Use yarn && yarn start
to play with it.
Usage
// module.ts
// container.tsx
// store epicMiddleware.runrootEpic
Docs and Recipe
Please read Docs and recipe