Queue repeated virtual-dom diff
ing and patch
ing operations until the next repaint.
npm i --save vdom-render-queue
var h = require('virtual-dom/h');
var queue = require('vdom-render-queue');
var render = queue(document.body, function() {
return h('h1', 'Hello World!');
});
render();
render();
render();
Create a queued render method.
Queue a render operation until the next repaint, or force the render operation to occur immediately.
The MIT License (MIT)
Copyright (c) 2015 James Newell