npm.io
0.1.2 • Published 8 years ago

thunk-action-creator

Licence
MIT
Version
0.1.2
Deps
0
Size
12 kB
Vulns
0
Weekly
0
Stars
28
DeprecatedThis package is deprecated

thunk-action-creator

Creates standardized, four-part asynchronous actions for redux-thunk.

Use

import thunkActionCreator from 'thunk-action-creator';
const thunkAction = thunkActionCreator(
  url,
  body,
  createRequestAction,
  createReceiveAction,
  createErrorAction,
  createAbortAction,
  conditional
);

Parameters

Keywords