Запустить приложение React в React 18

import React from 'react';
import ReactDom from 'react-dom/client';
import App from './App';

const root = ReactDom.createRoot(document.getElementById('root'));
root.render(<App />);
Coding Ninja