Exécuter l'application React dans 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