redux-action-extend-publish-test

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

Dependents (0)

Package Sidebar

Install

npm i redux-action-extend-publish-test

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

101 kB

Total Files

14

Last publish

Collaborators

  • liguang2018
  • fanwenbin