Created
October 28, 2022 04:59
-
-
Save lorenzojkrl/f2218f78e8c98dbd5c96d33f586ee89f to your computer and use it in GitHub Desktop.
React index.js
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 * as React from 'react'; | |
import { StrictMode } from 'react'; | |
import { createRoot } from 'react-dom/client'; | |
import App from './App'; | |
const rootElement = document.getElementById('root'); | |
const root = createRoot(rootElement); | |
root.render( | |
<StrictMode> | |
<App /> | |
</StrictMode> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment