Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

redux-action-extend-publish-test

fanwenbin9MIT1.0.0

Table of Contents

readme

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