Skip to content

Instantly share code, notes, and snippets.

@OtayNacef
Last active March 7, 2021 20:36
Show Gist options
  • Save OtayNacef/cb7d65123df08498f286b4ca5a5505fb to your computer and use it in GitHub Desktop.
Save OtayNacef/cb7d65123df08498f286b4ca5a5505fb to your computer and use it in GitHub Desktop.
React App without CRA
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