Last active
April 7, 2018 13:44
-
-
Save bilal-fazlani/1594359b4c1138cce9eb5e05de4c9955 to your computer and use it in GitHub Desktop.
signalr-react-demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {render} from 'react-dom'; | |
import './index.css'; | |
import App from './App'; | |
import registerServiceWorker from './registerServiceWorker'; | |
import {Provider} from "react-redux"; | |
import store, {history} from "./store"; | |
import {ConnectedRouter} from "react-router-redux"; | |
const target = document.querySelector('#root'); | |
render( | |
<Provider store = {store}> | |
<ConnectedRouter history={history}> | |
<App /> | |
</ConnectedRouter> | |
</Provider>, | |
target | |
); | |
registerServiceWorker(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment