@tshio/redux-api-content-middleware
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Content middleware

Installation

Using yarn:

$ yarn add @tshio/redux-api-content-middleware

Using npm:

$ npm install --save @tshio/redux-api-content-middleware

Then, to enable contentMiddleware, use applyMiddleware:

import { applyMiddleware, createStore } from 'redux';

import { apiMiddleware } from 'redux-api-middleware';
import contentMiddleware from '@tshio/redux-api-content-middleware';

import { appReducer } from 'app/app.reducer';

const middlewares = [contentMiddleware, apiMiddleware];

const store = createStore(appReducer, applyMiddleware(...middlewares));

Readme

Keywords

none

Package Sidebar

Install

npm i @tshio/redux-api-content-middleware

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

7.57 kB

Total Files

8

Last publish

Collaborators

  • vviktor
  • aherok
  • sethii
  • barograf