1.0.3 • Published 6 years ago
switchless-redux-actions v1.0.3
switchless-redux-actions
Abstract actions for a switchless redux
Wrap a reducer
You have to import the wrapper
's function and pass 2 arguments :
- the
reducer
- the
name
of this reducer (the output will be performname) We advice you to create your name with NameOfYourReducer+Reducer like : "TasksReducer".
wrapper(reducer, "TodoReducer");