import React from 'react' ; import ReactDOM from 'react-dom' ; import { boot } from 'fronts' ; import App from './App' ; export default function render ( element ) { ReactDOM . render ( < App />, element); return ( ) => { ReactDOM . unmountComponentAtNode ( element ! ) ; } ; } boot ( render , document . getElementById ( 'root' ) ) ;