3 ms·
MutationObserver is much more efficient than mutation events because it can group events into batches, vastly reducing the number of event handler callbacks whe
by roca 6y ago
MutationObserver is much more efficient than mutation events because it can group events into batches, vastly reducing the number of event handler callbacks when you're observing whole documents.