redux-actions-api
v0.0.3
Published
helps create 3 API request actions: request, success, fail
Downloads
2
Maintainers
Readme
Redux API actions
Table of Contents
Getting Started
Installation
$ npm install --save redux-api-actions
or
$ yarn add redux-api-actions
Usage
import { createAction } from 'redux-api-actions';
const apiRequest = createAction('actionType', () => ({
request: {
url: '/users',
},
}));