mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
18 lines
349 B
JavaScript
18 lines
349 B
JavaScript
/* global document */
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import {Provider} from 'react-redux';
|
|
|
|
import AppState from './reducers';
|
|
import Routes from './routes';
|
|
|
|
const el = document.createElement('div');
|
|
document.body.appendChild(el);
|
|
|
|
ReactDOM.render(
|
|
<Provider store={AppState} >
|
|
<Routes />
|
|
</Provider>,
|
|
el
|
|
);
|