Created
February 2, 2022 00:07
-
-
Save noramens/201ee701c6d55d543077ee0ab735c0a6 to your computer and use it in GitHub Desktop.
BroswerRouter from react-router-dom
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 { BrowserRouter } from 'react-router-dom'; | |
ReactDOM.render( | |
<BrowserRouter> | |
<App /> | |
<BrowserRouter>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment