Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Created August 9, 2021 06:05
Show Gist options
  • Save percybolmer/3aa3221165b770f675cfd689ae0342e5 to your computer and use it in GitHub Desktop.
Save percybolmer/3aa3221165b770f675cfd689ae0342e5 to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import { BrowserRouter } from "react-router-dom";
ReactDOM.render(
<React.StrictMode>
<BrowserRouter>
<App />
</BrowserRouter>
</React.StrictMode>,
document.getElementById('root')
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment