Sha256: be006846633ecbc861e8a8eae8e33cc7a84b73bb5d68c64b6c738541fdc6a5e4

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

import { applyMiddleware, compose, createStore } from 'redux';
import Es6ObjectAssign from 'es6-object-assign';
import Es6Promise from 'es6-promise';
import middlewares from 'redux/middlewares';
import reducers from 'redux/reducers';
import InitialState from 'redux/initial_state';

const appliedMiddleware = applyMiddleware(...middlewares);

// ie polyfills
Es6ObjectAssign.polyfill();
Es6Promise.polyfill();

export default createStore(reducers, InitialState, compose(appliedMiddleware));

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnarails-1.0.0 templates/react/js/redux/store.js
gnarails-0.9.3 templates/react/js/redux/store.js
gnarails-0.9.2 templates/react/js/redux/store.js
gnarails-0.9.1 templates/react/js/redux/store.js
gnarails-0.9.0 templates/react/js/redux/store.js