dompatch

Patch the DOM in the most efficient way possible.

Usage no npm install needed!

<script type="module">
  import dompatch from 'https://cdn.skypack.dev/dompatch';
</script>

README

dompatch

Patch the DOM in the most efficient way possible.

Usage

var html = '<h1>Hello, World</h1>';
var dom = new DOMParser().parseFromString(html, 'text/html');

dompatch(document, dom);