Understanding mutation observers

A bit of a side note but if you are not familiar with the Mutation Observer API (what is running behind the scene in Stimulus) and want to get a quick understanding, here is a short 10 min video that I found very informative on that subject.

6 Likes

Nice! Thanks for sharing.

You can see how Stimulus uses MutationObserver in the @stimulus/mutation-observers package.

2 Likes

That’s cool. Thank you.