7 lines
233 B
JavaScript
7 lines
233 B
JavaScript
import { createRoot } from 'react-dom/client';
|
|
import React from 'react'
|
|
import App from './App'
|
|
|
|
const contentRoot = document.getElementById('app');
|
|
const contentReactRoot = createRoot(contentRoot);
|
|
contentReactRoot.render(<App />); |