const hot: (fn: any, mod: any) => any
Hot-reload an App root with a webpack-compatible module interface.
Will discard all prior state and do a full re-render.
const App = () => { ... };
export default hot(App, module);
packages / live / src / hmr.ts