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);
Patch the DOM in the most efficient way possible.
<script type="module">
import dompatch from 'https://cdn.skypack.dev/dompatch';
</script>
Patch the DOM in the most efficient way possible.
var html = '<h1>Hello, World</h1>';
var dom = new DOMParser().parseFromString(html, 'text/html');
dompatch(document, dom);