Mutation Observer Is Unbelievably Powerful
Web Dev Simplified
JavaScript
January 4, 2022
Mutation Observer is an amazing tool in JavaScript that allows you to easily and efficiently observe any form of DOM changes. This can include anything from simply adding/removing nodes, all the way to more complex things like changing text/attributes.