joyent-portal/legacy/spikes/list/react-infinite/src/root.js

25 lines
400 B
JavaScript
Raw Normal View History

2016-11-21 11:54:50 +02:00
const ReactRedux = require('react-redux');
const ReactHotLoader = require('react-hot-loader');
const React = require('react');
const List = require('./list');
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) => {
return (
<AppContainer>
<Provider store={store}>
<List />
</Provider>
</AppContainer>
);
};