39 lines
725 B
JavaScript
39 lines
725 B
JavaScript
const React = require('react');
|
|
const ReactIntlRedux = require('react-intl-redux');
|
|
const ReactHotLoader = require('react-hot-loader');
|
|
const ReactRedux = require('react-redux');
|
|
const ReactRouter = require('react-router');
|
|
|
|
const App = require('./containers/app');
|
|
const store = require('./state/store');
|
|
|
|
const {
|
|
IntlProvider
|
|
} = ReactIntlRedux;
|
|
|
|
const {
|
|
AppContainer
|
|
} = ReactHotLoader;
|
|
|
|
const {
|
|
Provider
|
|
} = ReactRedux;
|
|
|
|
const {
|
|
BrowserRouter
|
|
} = ReactRouter;
|
|
|
|
module.exports = () => {
|
|
return (
|
|
<AppContainer>
|
|
<Provider store={store()}>
|
|
<IntlProvider>
|
|
<BrowserRouter>
|
|
{App}
|
|
</BrowserRouter>
|
|
</IntlProvider>
|
|
</Provider>
|
|
</AppContainer>
|
|
);
|
|
};
|