EntropyStarRover

Index.js

Nov 17th, 2021
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import App from './App';
  5. import reportWebVitals from './reportWebVitals';
  6. import {BrowserRouter} from 'react-router-dom';
  7.  
  8. ReactDOM.render(
  9.   <React.StrictMode>
  10.      <BrowserRouter>
  11.       <App />
  12.     </BrowserRouter>
  13.    </React.StrictMode>,
  14.   document.getElementById('root')
  15. );
  16.  
  17. // If you want to start measuring performance in your app, pass a function
  18. // to log results (for example: reportWebVitals(console.log))
  19. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  20. reportWebVitals();
  21.  
RAW Paste Data Copied