<div id="root">
</div>
const App = () => {
return (
<div>
<h1>Fragments Sample</h1>
<h1>Fragments Sample</h1>
</div>
)
}
const root = ReactDOM.createRoot(document.querySelector('#root'));
root.render(<App />);
View Compiled
This Pen doesn't use any external CSS resources.