Maybe this is a stupid question, but why does the `slotchange` event exist? A mutation observer can do the one thing slotchange can do, but also much more. #javascript #WebComponents #shadowDOM
@graynorton @knowler all good points! The event is certainly easier to manage. This came up because I was wishing the event object had some detail similar to a childList mutation record that said what was added or removed.
@tbroyer also made the excellent point that a MO isn’t going to handle manually assigned children, which is something I’d forgotten. (@deebloo also just added that)