Files
react/shells/dev/app/index.js
Brian Vaughn 5e0dfdac54 Initial commit
2019-01-22 11:04:37 -08:00

11 lines
268 B
JavaScript

/** @flow */
import { createElement } from 'react';
import { render } from 'react-dom';
import App from './App';
const container = document.createElement('div');
render(createElement(App), container);
((document.body: any): HTMLBodyElement).appendChild(container);