1 2 3 4 5 6
import { render } from 'react-dom'; import { App } from './app'; const app = () => <App />; render(app(), document.querySelector('#root'));