author ChicAboo
 *  date import React from 'react' ; import { render } from 'react-dom' ; import Router from './router' ; const renderHtml = ( ) => { render ( < Router />, document.getElementById('root')); } ; renderHtml ( ) ; if ( ( module as any ) . hot ) { ( module as any ) . hot . accept ( ( ) => { renderHtml ( ) ; } ) ; }