mutation events
An old, removed way of watching DOM changes that fired a synchronous event for every single change.
In more detail
Firing synchronously on each change made pages slow and fragile, so they were deprecated and removed from browsers. MutationObserver replaced them.
Related terms
- MutationObserver — A browser object that watches part of the DOM and reports changes, such as added nodes or changed attributes, in batches.
- deprecation — Marking a feature as outdated and scheduled for removal, while it still works, so users have time to move to its replacement.
Taught in
- MutationObserver: Reactive DOM Watching Without Polling — Frontend Architecture & Web Platform