assemble/ui/index.js

12 lines
229 B
JavaScript
Raw Normal View History

2024-01-28 03:50:31 +03:00
import React from "react";
import {createRoot} from "react-dom/client";
const rootDom = document.createElement("div");
document.body.appendChild(rootDom);
const root = createRoot(rootDom);
root.render(<h1>
Merhaba
</h1>);