Createroot Bereaksi

import React from 'react';
import { createRoot }  from 'react-dom/client';

const App = ()=> <h1>App</h1>

const root = createRoot( document.getElementById("root") );
root.render( <App /> );
KostasX