It would be rad if it's possible for creators of libs to create a namespace for their events, it's well used in jQuery for example in Bootstrap.
Bootstrap Modal emit show.bs.modal
event, it's allow user to be sure the show
event come from the Bootstrap Modal and not an other lib or a general show
event.
Currently, except jQuery I don't know an other libs which handle event namespace
See:
Note: This issue has a bounty, so it's expected that you are an experienced programmer and that you give it your best effort if you intend to tackle this. Don't forget, if applicable, to add tests, docs (double-check for typos), and update TypeScript definitions. And don't be sloppy. Review your own diff multiple times and try to find ways to improve and simplify your code. Instead of asking too many questions, present solutions. The point of an issue bounty is to reduce my workload, not give me more. Include a π¦ in your PR description to indicate that you've read this. Thanks for helping out π - @sindresorhus
IssueHunt has been backed by the following sponsors. Become a sponsor
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too