react-hook-form · React Hook Form Docs
useFieldArray
Implements dynamic form fields using the useFieldArray hook to manage arrays of inputs with optimized performance and built-in methods for manipulating field order and content.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
useFieldArray
Implements dynamic form fields using the useFieldArray hook to manage arrays of inputs with optimized performance and built-in methods for manipulating field order and content.
When To Use
Use when you need to implement dynamic forms where users can add, remove, or reorder multiple input fields such as a list of phone numbers or user addresses.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/usefieldarray-workflow-guide.md | Documentation detailing the useFieldArray hook props, types, and usage for managing dynamic form fields in react-hook-form. | Questions about documentation detailing the useFieldArray hook props, types, and usage for managing dynamic form fields in react-hook... |
What This Skill Covers
- useFieldArray: UseFieldArrayProps
- Main sections:
useFieldArray: UseFieldArrayProps,Props.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://react-hook-form.com/docs/usefieldarray