useMutationObserver
Observe changes in an element
Demo
No mutations yet
Usage
With a reference to an element, you can use the useMutationObserver
hook to observe changes in the
element.
You can stop the mutation observer at any point by calling the stop
method.