import * as React from 'react' ; import * as ReactDOM from 'react-dom' ; import { App } from './components/App' ; import './stylesheet.css' ; const appElement = document . getElementById ( 'app' ) ; const createApp = ( AppComponent ) => { return < AppComponent />; } ; ReactDOM . render ( createApp ( App ) , appElement ) ;