Closed
Description
Version
3.5.0
Reproduction link
d2cb951#diff-d69779a774d18aab6696dcf281454982a329104177c1a5f885089da9fefefd94R134-R148
Steps to reproduce
See the conditions for firing the warning:
d2cb951#diff-d69779a774d18aab6696dcf281454982a329104177c1a5f885089da9fefefd94R134-R148
What is expected?
You should only get the warning about using v-slot if you are actually using tag
or event
props
What is actually happening?
Since tag
and event
have non-falsey default values, the warning will always fire with any use of router-link.
Perhaps you should just compare if the values for tag
or event
are non-default and fire the warning, even though this doesn't cover the edge case that tag
or event
are actually being passed in with a value that matches the default.