logoalt Hacker News

estlast Tuesday at 8:31 AM1 replyview on HN

TIL CustomEvent

https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent...


Replies

bodantogatlast Tuesday at 1:52 PM

Incredibly useful, especially with React, where the Context API, state lifting, and prop drilling often feel clunky. That said, it can lead to messy code if not carefully managed.

show 1 reply