Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 457 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 457 Bytes

KCD's How to Enable React Concurrent Mode

const rootEl = document.getElementById("root");
// ReactDOM.render(<App />, rootEl)
const root = ReactDOM.createRoot(rootEl);
root.render(<App />);

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.