A small react-like dom API

Usage no npm install needed!

<script type="module">
  import vanillaDom from '';


Vanilla DOM

A small API for creating elements based off of jsonML and React's DOM api.

const { dom } = require("vanilla-dom");
  { className: "todo" },
  dom.img({src: "todo-success.png"}),
  dom.span({}, todo)


  • The DOM api for creating elements is really frustrating.
  • Sometimes React is like bringing a gun to a sword fight