Redux Middleware used to communicate the store to Granify Scripts
npm i --save granify-redux-middleware
or
yarn add granify-redux-middleware
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