Skip to content

Potentially excess warning Discarded invalid param(s) "xxx" when navigating. #1946

Closed Answered by YummyHOF
YummyHOF asked this question in Help and Questions
Discussion options

You must be logged in to vote

I did some digging and found out that this is caused by creating RouterLink with excess params

//e.g.
<RouterLink
    :to="{
        name: 'Home',
        params: { notUsed: 42 }
    }"
/>

When this link is created it shows the warning
Do you need full reproduction or this is enough to decide that the warning is justified?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@YummyHOF
Comment options

Answer selected by YummyHOF
@posva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants