Skip to content

Using named routes re-render sidebar while using hardcoded links does not #2353

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

You must be logged in to vote

This happens because named locations are relative to the current location even if they don't use anything. It's used to implicitly pass params that match by name. There is a planned improvement in the future by removing this implicit behavior but since it's a breaking change, it will only happen in Router 5.

What I would try to figure out is why the sidebar scroll reset, that will likely bother users

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants