How to listen for changes in DOM elements using the MutationObserver API in JavaScript?
Originally posted here!
What is Mutation Observer?
Mutation Observer is a DOM API which helps us to listen for changes to elements in DOM and react according to it.
How to listen using Mutation Observer API?
To observe or listen to a specific elemen...
melvingeorge-me.hashnode.dev4 min read