3 ms·
We just need to add one method to Web API: document.mutate(function(mutator) { mutator.changeAttributes(el,{...}); mutator.appendNodes(el,...);
by c-smile 6y ago
We just need to add one method to Web API:
document.mutate(function(mutator) {
mutator.changeAttributes(el,{...});
mutator.appendNodes(el,...);
...
});
The mutate will do transactional update as fast as possible.
- deleted 6y ago[deleted]