import React from 'react'
import { render } from 'react-dom'
import createStore from './createStore'

const store = createStore()

render(
  <h1>Hello from React</h1>,
  document.getElementById('react')
)

import React from 'react'
import { render } from 'react-dom'
import createStore from './createStore'
import App from './components/App'

const store = createStore()

render(
  <App />,
  document.getElementById('react')
)

Use App component in render
Use App component in render

