#CustomEvents
This bit was a made a little bit more frustrating as latest Azure App Insights/Monitoring SDK (Open Telemetry) didn't support logging to the required customEvents table - so I've had to fall back to the legacy AppInsights SDK which is a bit annoying.
January 3, 2025 at 7:57 AM
I got bitten by polyfills in Angular the other day, they polyfill the global dispatchEvent event with their own shim which doesn't support CustomEvents!
September 29, 2025 at 10:35 AM
The native EventTarget is a hidden gem, but its TypeScript support is a bit of a "black box". I’ve put together a small wrapper to get a 100% type-safe event bus with zero runtime overhead.

dev.to/link2twenty/...
Type-Safe CustomEvents: Better Messaging with Native APIs
The native EventTarget is a hidden gem for internal messaging. It is built-in, fast and stays out of...
dev.to
February 28, 2026 at 9:52 PM
Type-Safe CustomEvents: Better Messaging with Native APIs
via Dev.to Webdev

https://flarestart.com/article/type-safe-customevents-better-messaging-with-native-apis-20260228
#DevNews #WebDevelopment
Type-Safe CustomEvents: Better Messaging with Native APIs
The native EventTarget is a hidden gem for internal messaging. It is built-in, fast and stays out of your way. However, the standard CustomEvent interface is a bit of a "black box" for TypeScript....
flarestart.com
February 28, 2026 at 10:15 PM