redux-action
APIs
createReducer
createAction
import { createAction } from 'redux-action'
const action = createAction('ACTION', (args) => {
// ...
return payload
})
import { createReducer } from 'redux-action'
const reducer = createReducer(defaultState, {
'ACTION': (payload, state, action) => {
// ...
}
})
Conceptions
License
MIT