-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
48 lines (46 loc) · 1.25 KB
/
index.js
File metadata and controls
48 lines (46 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
* @external {react} https://reactjs.org
*/
import React from 'react';
/**
* @external {react-dom} https://reactjs.org/docs/react-dom.html
*/
import ReactDOM from 'react-dom';
/**
* @external {react-router-redux} https://github.com/reactjs/react-router-redux
*/
import { ConnectedRouter } from 'react-router-redux';
/**
* @external {react-redux} https://redux.js.org/docs/basics/UsageWithReact.html
*/
import { Provider } from 'react-redux';
/**
* @external {bootstrap} https://getbootstrap.com
*/
import 'bootstrap/dist/css/bootstrap.css';
import { configureStore, history } from './redux/store';
import App from './app';
import A11yNavigatedMessageContainer from './containers/a11y-navigated-message';
import registerServiceWorker from './lib/registerServiceWorker';
/**
* @type {object} store
*/
const store = configureStore();
/**
* ReactDOM render.
* @type {class} ReactDOM
* @type {function} ReactDOM.render
*/
ReactDOM.render(
// eslint-disable-next-line react/jsx-filename-extension
<Provider store={store}>
<React.Fragment>
<A11yNavigatedMessageContainer />
<ConnectedRouter history={history}>
<App />
</ConnectedRouter>
</React.Fragment>
</Provider>,
document.getElementById('root'),
);
registerServiceWorker();