deno.land / x / esm@v135_2 / server / embed / run.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>ESM>Run</title>
<script type="importmap">
{
"imports": {
"@jsxImportSource": "/react@18.2.0",
"react-dom/": "/react-dom@18.2.0/"
}
}
</script>
<script type="module" src="/run"></script>
</head>
<body>
<div id="root"></div>
<script type="text/babel">
import { createRoot } from "react-dom/client"
function App() {
return (
<h1>
Hello, World!
</h1>
)
}
createRoot(root).render(<App />)
</script>
</body>
</html>
Version Info