Script tag support for TypeScript es modules with react support.
<!DOCTYPE html>
<html>
<body>
<main id="app"></main>
<script type="typescript">
import React from "https:/esm.sh/react";
import React, { createRoot } from "https:/esm.sh/react-dom/client";
function App() {
return <div>Hello, World!</div>;
}
const root = createRoot(document.getElementById("app"));
root.render(<App />)
</script>
<script src="https://github.com/rikhoffbauer/typescript-script-esm/raw/master/transpile.mjs"></script>
</body>
</html>