-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V3 event bus #3259
V3 event bus #3259
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just one comment on the choice of emitter library.
@@ -14,7 +14,8 @@ | |||
"roboto-fontface": "*", | |||
"vue": "^3.4.31", | |||
"vuetify": "^3.6.11", | |||
"axios": "^1.7.7" | |||
"axios": "^1.7.7", | |||
"tiny-emitter": "^2.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use "mitt" in openrelik, another emitter library. What is the benefit of tiny-emitter? Or is it just another implementation of the same thing? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see in the Vue migration guide.
"This provides the same event emitter API as in Vue 2."
Nice, then we don't have to change the caller code.
Feel free to merge when you have fixed the conflicts 👍🏼 |
I don't have permissions to merge. |
Add new event emitter to v3 ui.
Inspired by: https://v3-migration.vuejs.org/breaking-changes/events-api#event-bus