router-core/search-params
OfficialValidate & manage search params with type safety
Software Engineering#validation#inheritance#serialization#tanstack-router#search-params#middlewares#loader-deps
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TanStack Router's search params are powerful but complex to validate, persist, and share across nested routes. This skill provides a structured approach to validating search params, applying middlewares, and customizing serialization for URL parameters.
Core Features & Use Cases
- Validation and parsing of search params via adapters for Zod, Valibot, or ArkType
- Inheritance of parent route search params into child routes for consistent UX
- Custom serialization and loaderDeps guidance to control when and how search params affect cache keys
- Middlewares like retainSearchParams and stripSearchParams to preserve or prune params across navigations
Quick Start
Define a validation schema for your route's search params and read parsed values via Route.useSearch() in your component.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: router-core/search-params Download link: https://github.com/TanStack/router/archive/main.zip#router-core-search-params Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.