Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 439 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 439 Bytes

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',
  },
}));