- initial;
This commit is contained in:
15
src/index.js
Normal file
15
src/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
import './index.css';
|
||||
import App from './App';
|
||||
|
||||
|
||||
const rootEl = document.getElementById('root');
|
||||
const rootReact = createRoot(rootEl);
|
||||
|
||||
rootReact.render(
|
||||
<React.StrictMode>
|
||||
<App/>
|
||||
</React.StrictMode>
|
||||
);
|
||||
Reference in New Issue
Block a user