gale/index.html

27 lines
781 B
HTML

<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="root"></div>
<script type="module">
// import React from "/>/npm:react@19.2.0";
// import ReactDOM from "/>/npm:react-dom@19.2.0/client";
import React from "/cached/react.js";
import ReactDOM from "/cached/react-dom.js";
function App()
{
const [count, countGet] = React.useState(123)
return React.createElement("h1", null, "hey "+countGet)
}
ReactDOM.createRoot(document.querySelector("#root")).render(React.createElement(App));
</script>
<!--<script type="module" src="app.tsx"></script>-->
</body>
</html>