Created
October 11, 2018 00:40
-
-
Save lomse/7be219b0cf1251f89eece7547235fada to your computer and use it in GitHub Desktop.
Move the render logic to from App.jsx to index.jsx file
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 } from 'react-dom' | |
import App from './components/App' | |
render(<App />, document.getElementById('app')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment