Skip to content

Instantly share code, notes, and snippets.

@techomoro
Last active Oct 6, 2021
Embed
What would you like to do?
// index.js
import React from "react";
import ReactDOM from "react-dom";
import "bootstrap/dist/css/bootstrap.min.css";
import "./assets/scss/style.scss";
import App from "./App";
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import store from "./store";
const app = (
<Provider store={store}>
<BrowserRouter>
<App />
</BrowserRouter>
</Provider>
);
ReactDOM.render(app, document.getElementById("root"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment