1.0.0 • Published 6 years ago
redux-action-extend-publish-test v1.0.0
#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,
});
1.0.0
6 years ago