The DOM Observer (lib/generators/observer.js), listens to mutations that happen in the DOM using the MutationObserver.

Whenever a DOM node has been inserted or removed, it follows this flow:

Untitled

Whenever a DOM node’s attributes has been updated, it follows this flow:

Untitled

How Script Promises Work?

Untitled

Untitled