/fuse-react:react-formsfrom fuse-react
Builds type-safe forms in React with TanStack Form v1 — Zod/Yup/Valibot validation, async validation, field arrays, React 19 Server Actions, SSR/hydration, and React Native.
Ships in fuse-react. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Also covers array/nested fields with dot notation, listeners for side effects (onMount/onChange/onBlur with debouncing), linked/cross-field validation, reactivity via useStore selectors, the Reset API, SSR/hydration (TanStack Start), devtools, and React Native patterns. This is the React skill for TanStack Form — for the Next.js Server Actions-specific variant see nextjs-tanstack-form, and for SOLID file-organization rules see solid-react.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
After implementation, run fuse-ai-pilot:sniper for validation.
ALWAYS apply SOLID principles from solid-react skill.
→ See ../solid-react/SKILL.md for complete rules
Key Rules:
FUSE_SOLID_MAX_LINES and split by responsibility when cohesion dropsmodules/[feature]/src/interfaces/| 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
TanStack Form v1 (@tanstack/react-form 1.33.x) supports Standard Schema natively — pass the schema itself to validators (onChange: userSchema). No adapter: validatorAdapter and @tanstack/zod-form-adapter (last release 0.42.1, pre-v1, Zod 3 only) are removed/obsolete.
| Library | Usage | Min version | Bundle Size |
|---|---|---|---|
| Zod | validators: { onChange: schema } | 3.24.0 | ~12KB |
| Yup | validators: { onChange: schema } | 1.7.0 | ~40KB |
| Valibot | validators: { onChange: schema } | 1.0.0 | ~6KB |
→ See references/zod-validation.md for Zod patterns
→ See references/yup-valibot.md for alternatives
Server-side checks with debouncing and loading states.
→ See references/async-validation.md
Integration with useActionState and progressive enhancement.
→ See references/server-actions.md
Dynamic field arrays and dot notation for nested objects.
→ See references/arrays-nested.md
Full type inference from Zod schemas and defaultValues.
→ See references/typescript.md
Field wrapper components with shadcn styling.
→ See references/shadcn-integration.md
onMount, onChange, onBlur, onSubmit with debouncing.
→ See references/listeners.md
Cross-field validation and dependent dropdowns.
→ See references/linked-fields.md
useStore selectors and granular subscriptions.
→ See references/reactivity.md
Form and field reset with custom values.
→ See references/reset-api.md
TanStack Start integration and server state merge.
→ See references/ssr-hydration.md
Debug form state with @tanstack/react-form-devtools.
→ See references/devtools.md
Mobile-specific patterns with TextInput.
→ See references/react-native.md
ArkType and Effect Schema support.
→ See references/standard-schema.md
| Template | Use Case |
|---|---|
templates/basic-form.md | Login/signup with Zod |
templates/multi-step-form.md | Wizard with step validation |
templates/dynamic-fields.md | Add/remove field arrays |
templates/file-upload-form.md | File input with preview |
templates/server-action-form.md | React 19 Server Actions |
templates/optimistic-form.md | useOptimistic integration |
templates/nested-form.md | Dot notation nested fields |
templates/search-form.md | Debounced search |
templates/conditional-fields.md | Show/hide based on values |
templates/form-composition.md | Reusable field components |
templates/listeners-form.md | Side effects & auto-save |
templates/linked-fields-form.md | Cross-field validation |
templates/reactivity-form.md | Performance optimization |
templates/reset-form.md | Form/field reset patterns |
templates/ssr-form.md | SSR & hydration |
templates/devtools-form.md | Devtools integration |
templates/react-native-form.md | React Native forms |
field.state.meta.errorsaddress.street)mode="array" with pushValue/removeValuez.infer<typeof schema>useState for form state → use useForm()onChangeAsyncDebounceMsonChange → use field.handleChangez.infer<typeof schema>references/arrays-nested.md (opens in a new tab)references/async-validation.md (opens in a new tab)references/devtools.md (opens in a new tab)references/linked-fields.md (opens in a new tab)references/listeners.md (opens in a new tab)references/react-native.md (opens in a new tab)references/reactivity.md (opens in a new tab)references/reset-api.md (opens in a new tab)references/server-actions.md (opens in a new tab)references/shadcn-integration.md (opens in a new tab)references/ssr-hydration.md (opens in a new tab)references/standard-schema.md (opens in a new tab)references/tanstack-form-basics.md (opens in a new tab)references/templates/basic-form.md (opens in a new tab)references/templates/conditional-fields.md (opens in a new tab)references/templates/devtools-form.md (opens in a new tab)references/templates/dynamic-fields.md (opens in a new tab)references/templates/file-upload-form.md (opens in a new tab)references/templates/form-composition.md (opens in a new tab)references/templates/linked-fields-form.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fusengine/claude-plugins --plugin fuse-react8 skills in this plugin
/react-19Use when implementing React 19.3 patterns — use(), useOptimistic, useActionState, useEffectEvent, Activity, ViewTransition, Fragment refs, use(browser()), React Compiler./react-i18nUse when implementing translations in a React app (not Next.js) with react-i18next — useTranslation, namespaces, pluralization, Suspense./react-shadcnshadcn/ui for React with TanStack Form. Use when building UI components, forms, dialogs, tables, toasts, or accessible components.Other plugins' skills for the same job