0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/search-validator-adapters
History 2026-03-04 20:37:33 +00:00
..
.vscode chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
src chore: add source() to Tailwind v4 imports to ensure consistent hashing (#6459) 2026-01-24 01:49:12 +01:00
tests fix: fullpath handling (#6404) 2026-01-17 17:21:10 +01:00
.gitignore feat(react-router): support input types for search validation schemas (#2000) 2024-08-14 21:20:23 +02:00
index.html chore(e2e,examples): tailwindcss v4 (#3235) 2025-01-26 17:50:21 +13:00
package.json release: v1.166.2 2026-03-04 20:37:33 +00:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
tsconfig.json chore: add typescript to all examples, update tsconfig for one-click deploys 2024-11-22 13:18:52 -07:00
vite.config.ts docs: move to tailwind 4 w/ vite (#6168) 2025-12-21 04:13:49 +01:00

TanStack Router - Search Validator Adapters Example

An example demonstrating search parameter validation with various adapters.

Start a new project based on this example

To start a new project based on this example, run:

npx gitpick TanStack/router/tree/main/examples/react/search-validator-adapters search-validator-adapters

Getting Started

Install dependencies:

pnpm install

Start the development server:

pnpm dev

Build

Build for production:

pnpm build

About This Example

This example demonstrates:

  • Search parameter validation
  • Multiple validator adapters (Zod, Valibot, etc.)
  • Type-safe search params
  • Schema validation
  • URL state management