API Reference - rootstrap/redux-tools GitHub Wiki
Top-Level Exports
- createAction(type)
- createThunk(actionName, thunk)
- createReducer(initialState, actionHandlers)
- thunkMiddleware
- useStatus(actionNamePrefix)
- useLoading(actionNamePrefix)
- statusReducer
Importing
Every function described above is a top-level export. You can import any of them like this:
import { createAction } from '@rootstrap/redux-tools'