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:
Runs the app in the development mode.
Open https://localhost:3000 to view it in the browser.