Created
October 19, 2018 00:12
-
-
Save jkinkead/ae267a5528aa4aea7754f4f70ae67d41 to your computer and use it in GitHub Desktop.
Simple React index.js
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
import React from 'react' | |
import { render, hydrate } from 'react-dom' | |
import App from './components/App' | |
hydrate(<App />, document.getElementById('root')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment