re: Using Browser Custom Events VIEW POST


Do you use this as cross components communication? Example trigger a function in a sibling component?


Sure. That's a solid use case.


Thanks for your reply Clay.
I try to keep it top-down but I’ve faced a couple of situations where this pub/sub using the native event bubbling would come in real handy. Didn’t reach for it yet though.

Code of Conduct Report abuse