<!DOCTYPE html>
<meta charset="utf-8">
<title>s2 sandbox</title>
<script type="module">
  import s2, { mount, unmount, registerTemplate } from "../dist/main.mjs";
  import { createComputed, observable } from "../dist/computed-properties.mjs";
  import { createMustacheTag } from "../dist/mustache.mjs";

  const mustache = createMustacheTag(registerTemplate);
  const computed = createComputed(mount, unmount);

  const s = observable({
    // foo: null,
    foo: {
      a: "a",
    },
  }, true);

  window.s =