-
-
Save azamsharp/5f6777377ae28a082e03b60cf91bee6c to your computer and use it in GitHub Desktop.
Browser Router and Provider
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
ReactDOM.render( | |
<Provider store = { store }> | |
<BrowserRouter> | |
<BaseLayout> | |
<Switch> | |
<Route exact path = "/" component = { App } /> | |
</Switch> | |
</BaseLayout> | |
</BrowserRouter> | |
</Provider> | |
, document.getElementById('root')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment