getCombinedReducer

Get the Harmoware-VIS reducer function that can be passed to the createStore. It can also be integrated with the Harmoware-VIS reducer function by writing an additional reducer function in the argument.

Examples

import { render } from 'react-dom';
import { getCombinedReducer } from 'harmoware-vis';
import { createStore } from 'redux';

import { Provider } from 'react-redux';
import React from 'react';
import App from './containers';
import 'harmoware-vis/scss/harmoware.scss';

const store = createStore(getCombinedReducer());

render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('app')
);

Last updated