UNPKG

spud-framework

Version:

Spud framework is a lightweight, strongly-typed, and declarative way to minimize boilerplate while using [thunks](https://github.com/reduxjs/redux-thunk) with [redux](https://react-redux.js.org/) for asynchronous actions, implemented as a [hook](https://r

7 lines (6 loc) 376 B
import { useThunks } from './useThunks'; import createAsyncAction from './createAsyncAction'; import createAsyncReducer from './createAsyncReducer'; import { AsyncActionStatusConsts } from './types'; import { isWaiting, isActionTypeWaiting } from './utils'; export { useThunks, createAsyncAction, createAsyncReducer, AsyncActionStatusConsts, isWaiting, isActionTypeWaiting };