Avis React Hook Form Integration
Capability: forms
Status: stable integration manifest, alpha project support
Supported ecosystems:
- Node
Supported frameworks:
- Next.js
Supported package managers:
- npm
- pnpm
- yarn
- bun
Package:
react-hook-form
Command:
avis add react-hook-formWhat Avis Does
Section titled “What Avis Does”- installs
react-hook-formwhen it is not already present - creates a starter form component when it does not already exist
- verifies dependency and example component presence
Files Avis May Create
Section titled “Files Avis May Create”src/components/example-form.tsxorsrc/components/example-form.jsxwhen the project hassrccomponents/example-form.tsxorcomponents/example-form.jsxwhen the project does not havesrc
Files Avis May Modify
Section titled “Files Avis May Modify”None.
Dependencies Added
Section titled “Dependencies Added”react-hook-form
Verification
Section titled “Verification”avis doctor checks:
react-hook-formdependency installed- example form component detected
If the dependency exists but the component file is missing, Avis reports the integration as partially configured.
Idempotence
Section titled “Idempotence”Avis skips dependency installation when react-hook-form is already listed and skips component creation when the expected file exists.
Manual Setup Differences
Section titled “Manual Setup Differences”Avis creates a minimal email form example. You should replace the example handler and fields with your application-specific form logic.