You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
react-router/examples/custom-filter-link
Pedro Cattori 9a3d9fc19f
clean up tsconfigs (#12461)
* isolatedModules -> verbatimModuleSyntax

* remove redundant `forceConsistentCasingInFileNames`

it already defaults to `true`
2 months ago
..
src Update examples to use react-jsx (#10515) 2 years ago
.gitignore add custom filter link example (#8113) 3 years ago
.stackblitzrc add custom filter link example (#8113) 3 years ago
README.md chore: add frontmatter to examples for website (#8218) 3 years ago
index.html add custom filter link example (#8113) 3 years ago
package-lock.json Update examples to latest version 1 year ago
package.json Update examples to latest version 1 year ago
tsconfig.json clean up tsconfigs (#12461) 2 months ago
vite.config.ts Remove __DEV__ code flag (#11519) 9 months ago

README.md

title toc
Custom Filter Link false

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:

Open in StackBlitz