Open Westbrook opened 3 years ago
I'd add also examples or use-cases that can make use of "slotchange" (triggering). I've had issues explaining and good documentation would help sharing the knowledge. A use-case can be for transitions of a "value" component. When it's inserted, when the data's there, etc.
Particularly, touch on "gotchas" like:
childList
onlyassignedNodes/Elements()
can flatten through multiple<slot>
elementsOutline alternative approaches like Mutation Observers, etc.