Skip to content

Instantly share code, notes, and snippets.

Created September 16, 2018 14:09
What would you like to do?
Wrapping our app inside a <BrowserRouter> component
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
import 'semantic-ui-css/semantic.min.css';
import {BrowserRouter} from 'react-router-dom';
</BrowserRouter>, document.getElementById('root'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment