Skip to content

Instantly share code, notes, and snippets.

@steniowagner
Created November 2, 2017 03:02
Show Gist options
  • Save steniowagner/29f2caebcf8eb450fa34a87d57b7d501 to your computer and use it in GitHub Desktop.
Save steniowagner/29f2caebcf8eb450fa34a87d57b7d501 to your computer and use it in GitHub Desktop.
import React from 'react'
import { render } from 'react-dom'
import { BrowserRouter } from 'react-router-dom'
import App from './app'
render(
<BrowserRouter>
<App />
</BrowserRouter>,
document.querySelector('[data-js="app"]')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment