UNPKG

react-redux-fetch

Version:

A declarative and customizable way to fetch data for React components and manage that data in the Redux state

16 lines (13 loc) 409 B
'use strict'; exports.__esModule = true; var PREFIX = exports.PREFIX = 'react-redux-fetch/'; var FETCH = exports.FETCH = { for: function _for(verb) { return { REQUEST: '' + PREFIX + verb.toUpperCase() + '_REQUEST', FULFILL: '' + PREFIX + verb.toUpperCase() + '_FULFIL', REJECT: '' + PREFIX + verb.toUpperCase() + '_REJECT' }; } }; var CLEAR = exports.CLEAR = PREFIX + 'CLEAR';