You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
activeProps is a cool idea, however, having more control over whether or not the link isActive might be a small improvement.
Example use case
I have a navbar with 3 links, let's call them "movies", "blogs", and "reports". Clicking movies takes you to an index page /movies. For /movies I want to say "movies" IS active. If I click to /movies/watchlist, for this case, I want to say "movies" is STILL active.
In the
<Link>
component,isActive
could be a bit more robust.redux-little-router/src/components/link.js
Line 103 in 0adead1
activeProps
is a cool idea, however, having more control over whether or not the linkisActive
might be a small improvement.Example use case
I have a navbar with 3 links, let's call them "movies", "blogs", and "reports". Clicking movies takes you to an index page
/movies
. For/movies
I want to say "movies" IS active. If I click to/movies/watchlist
, for this case, I want to say "movies" is STILL active.suggestions
The text was updated successfully, but these errors were encountered: