react-hook-form · React Hook Form Docs
useController
Teaches how to use the useController hook to build reusable controlled input components that have full access to form state, validation rules, and field state.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
useController
Teaches how to use the useController hook to build reusable controlled input components that have full access to form state, validation rules, and field state.
When To Use
Use when you need to wrap third-party UI components or custom input elements into the React Hook Form ecosystem using a controlled pattern.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/usecontroller-workflow-guide.md | Documentation detailing the useController hook signature, props, return values, and usage examples for managing controlled components. | Questions about documentation detailing the useController hook signature, props, return values, and usage examples for managing contr... |
What This Skill Covers
- useController: (props?: UseControllerProps) = { field: object, fieldState: object, formState: object }
- Main sections:
useController: (props?: UseControllerProps) = { field: object, fieldState: object, formState: object },Props,Return,Examples.
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/usecontroller