Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created Jul 1, 2016
Embed
What would you like to do?
import 'babel-polyfill'
import React from 'react'
import ReactDOM from 'react-dom'
import Relay from 'react-relay'
import Hello from './components/Hello'
import HomeRoute from './routes/HomeRoute'
ReactDOM.render(
<Relay.RootContainer
Component={Hello}
route={new HomeRoute()}
/>,
document.querySelector('#app')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment