React Hook Form

Correct React Hook Form usage anywhere in the monorepo — data flow, subscriptions, reset, dirty state, number inputs, and controlled-input rules. Load this BEFORE writing or modifying ANY form code, adding a field to an existing form, touching watch/useWatch/formState/getValues/setValue/reset, wiring a form into a dialog or sheet, or building a submit/cancel footer — even when the change looks trivial. The codebase contains widespread RHF anti-patterns; without this skill you will copy them. For form layout and which components to use, also load studio-ui-patterns.

rahulxdemon Updated

File contents

rahulxdemon/agent-skills/tree/main/skills/react-hook-form commit 122636e7ca

Frequently asked questions

npx skillmds@latest add rahulxdemon/react-hook-form