React Utwórz root
ReactDOM.createRoot(rootNode).render(<App />);
Soukaina Bachikh
ReactDOM.createRoot(rootNode).render(<App />);