-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
link not active for the current route #499
Comments
It depends on where in your component tree this function is called. Is this a link that is inside |
@molefrog thank you for the reply, i'm not sure i understand you fully, let me give you some more info so basically i'm trying to highlight the active page on sidebar. i created a sidebar layout and wrap all page components using that like following. (let me know if i can improve this approach something like
This has the sidebar component
as you can see i'm passing thank you so much for your time
|
@molefrog |
following is my current App routing
Logic to get active state
following is what i see on my console. isActive is not becoming true on nested routes. but working fine on other pages.
The text was updated successfully, but these errors were encountered: