Last active
March 7, 2021 20:36
-
-
Save OtayNacef/cb7d65123df08498f286b4ca5a5505fb to your computer and use it in GitHub Desktop.
React App without CRA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import App from "./App"; | |
ReactDOM.render(<App />, document.getElementById("app")); | |
// hot reloading. It works by replacing a module of the application | |
// during runtime with an updated one so that it’s available for instant use. | |
module.hot.accept(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment