TanStack Form v1 - type-safe forms with Zod/Yup/Valibot validation, async validation, arrays, nested fields, React 19 Server Actions
View on GitHubFebruary 2, 2026
Select agents to install to:
npx add-skill https://github.com/fusengine/agents/blob/main/plugins/react-expert/skills/react-forms/SKILL.md -a claude-code --skill react-formsInstallation paths:
.claude/skills/react-forms/# TanStack Form v1 Core Features ## Agent Workflow (MANDATORY) Before ANY implementation, launch in parallel: 1. **fuse-ai-pilot:explore-codebase** - Analyze existing form components and validation patterns 2. **fuse-ai-pilot:research-expert** - Verify latest TanStack Form v1 docs via Context7/Exa 3. **mcp__context7__query-docs** - Check Zod validation and React 19 Server Actions patterns After implementation, run **fuse-ai-pilot:sniper** for validation. --- ## MANDATORY: SOLID Principles **ALWAYS apply SOLID principles from `solid-react` skill.** → See `../solid-react/SKILL.md` for complete rules **Key Rules:** - Files < 100 lines (split at 90) - Interfaces in `modules/[feature]/src/interfaces/` - JSDoc mandatory on all exports - No business logic in components --- ## Core Hooks | Hook | Purpose | Guide | |------|---------|-------| | `useForm()` | Initialize form with validation | `references/tanstack-form-basics.md` | | `useField()` | Subscribe to individual field | `references/tanstack-form-basics.md` | | `form.Field` | Render prop component for fields | `references/tanstack-form-basics.md` | | `form.Subscribe` | Watch form state changes | `references/tanstack-form-basics.md` | → See `references/tanstack-form-basics.md` for detailed usage --- ## Validation Adapters | Library | Adapter | Bundle Size | |---------|---------|-------------| | **Zod** | `zodValidator()` | ~12KB | | **Yup** | `yupValidator()` | ~40KB | | **Valibot** | `valibotValidator()` | ~6KB | → See `references/zod-validation.md` for Zod patterns → See `references/yup-valibot.md` for alternatives --- ## Key Features ### Async Validation Server-side checks with debouncing and loading states. → See `references/async-validation.md` ### Server Actions (React 19) Integration with useActionState and progressive enhancement. → See `references/server-actions.md` ### Arrays & Nested Fields Dynamic field arrays and dot notation for nested objects. → See `references/arrays-nested.md` ###