Callbacks On Web Components? | CSS-TricksCustom events are more suitable for Web Components than callback functions.
Custom events are a developer's best friendCustom events in New Relic allow for flexible data collection and analysis, with over 30% being custom in their system.