How about same-name shorthands for events as well, aka. @my-event #14066
toniengelhardt
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The recent introduction of same-name shorthands for component props is amazing, aka we can now do
instead of
which improves readability and code style.
How about the same for events, aka
instead of
IMO this would improve consistency and simplify passing events up the tree when necessary, e.g. if template refs are involved.
Beta Was this translation helpful? Give feedback.
All reactions