1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-28 12:50:05 +02:00
copilot/legacy/spikes/architecture/react-d3/client/root.js

22 lines
373 B
JavaScript
Raw Normal View History

const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRedux = require('react-redux');
const Graph = require('./graph');
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) =>
<AppContainer>
<Provider store={store}>
<Graph />
</Provider>
</AppContainer>;