Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as React from "react"
- import { render } from "react-dom"
- import App from "./App"
- const renderApp = () => render(<App />, document.getElementById("root"))
- renderApp()
- module.hot.accept("./App", renderApp)
Add Comment
Please, Sign In to add comment