Created
March 14, 2019 02:42
-
-
Save webmasterdevlin/3452df704e4bf195edcbcfafb17f4179 to your computer and use it in GitHub Desktop.
React Class Component : src/index.js
This file contains hidden or 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 ReactDOM from "react-dom"; | |
import "./index.css"; | |
import App from "./App"; | |
import * as serviceWorker from "./serviceWorker"; | |
import { Provider } from "react-redux"; // holds that store | |
import "bootstrap/dist/css/bootstrap.css"; | |
import "@fortawesome/fontawesome-free/css/all.css"; | |
import { store } from "./store"; // the store | |
ReactDOM.render( | |
<Provider store={store}> | |
<App /> | |
</Provider>, | |
document.getElementById("root") | |
); | |
serviceWorker.unregister(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment