<!DOCTYPE html>
<html>
  <head>
    <title>With Preact</title>
    <link rel="stylesheet" href="styles.css" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
    />
  </head>
  <body>
    <!-- The main game template. -->
    <div id="root"></div>

    <!-- Import dependencies via ESM. The future is now! -->
    <script type="module">
      import "three-elements"
      import { h, Component, render } from "preact"
      import { useR