redux-action-extend

1.1.3 • Public • Published

redux-action-extend

Table of Contents

Getting Started

Installation

$ yarn add redux-action-extend

Usage

 
import { createHttpAction, createAjaxMiddleware } from 'redux-action-extend'
 
// 'getAuthorizations'
export const {
    actionsName,
    actionsName_request 
    actionsName_success
    actionsName_failure
= createHttpAction('actionsName', Interface.auth.getAuthorizations, {
    method: 'get',
    isHttp: true,
    ignoreToast: true,
    ignoreLoading: true,
    types,
    endpoint,
    data,
    ignoreToast,
    ignoreLoading,
    isHttp,
    method,
    dataType,
});
 

Readme

Keywords

none

Package Sidebar

Install

npm i redux-action-extend

Weekly Downloads

9

Version

1.1.3

License

MIT

Unpacked Size

242 kB

Total Files

38

Last publish

Collaborators

  • bluesirl
  • fanwenbin
  • liguang2018