Back to React Router

Custom Filter Link

examples/custom-filter-link/README.md

7.6.2492 B
Original Source

Custom Filter Link Example

This example demonstrates how to use a query string parameter to mark a link as "active" or not. This is a common technique when implementing a filter in a sidebar where you're browsing products.

Preview

Open this example on StackBlitz: