Package Exports
- granify-redux-middleware
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (granify-redux-middleware) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Redux Middleware for Granify Installations
Redux Middleware used to communicate the store to Granify Scripts
Install
npm i --save granify-redux-middleware
or
yarn add granify-redux-middleware
Usage
import { applyMiddleware, createStore } from 'redux';
import granifyMiddleware from 'granify-redux-middleware';
const store = createStore(reducer, applyMiddleware(granifyMiddleware));
// Note passing middleware as the third argument requires redux@>=3.1.0