📝 Edit page
➕ Add page
Set up index script
How to set up the index module of your React app. This is the entrypoint which loads your App.jsx file.
With render method and strict mode:
index.jsxReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById("root"), );
Or with hydrate method:
index.jsxReactDOM.hydrate( <App />, document.getElementById('root') );