Replies: 2 comments
-
You can pass the |
Beta Was this translation helpful? Give feedback.
0 replies
-
@sergiodxa thanks, actually it helps, even though I think the name of the attribute - |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I was very disappointed when I found out the way that
NavLink
decides on active routes. For example when I have:And then my
BarPage
includes aNavLink
:The link to
/foo
is considered to be active. I think it would be better if theNavLink
being active or not was decided by the hierarchy of the routes, not by the URL prefix. URLs prefixes can often be unrelated to one another and deciding thatNavLink
is active just because the URL starts with the same prefix causes a lot of problems.Beta Was this translation helpful? Give feedback.
All reactions