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.https://github.com/FormidableLabs/redux-little-router/blob/0adead109d631858eee89066a5d87777e4d3eac7/src/components/link.js#L103
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