traps · 2 served
React Hook Form
react-hook-form · latest 7.87.0 · MIT
Uncontrolled-first form state for React with a resolver hook for external schema validation.
| symptom and fix |
|---|
major · <7.87.0 · published · verified 2026-09-08 A Next.js build fails with ERR_MODULE_NOT_FOUND while resolving react-hook-form. A `react-server` condition in the package export map broke resolution in Next.js builds. Upgrade to 7.87.0, which fixes it; there is no working workaround short of pinning the resolution yourself. evidence |
minor · <7.87.0 · published · verified 2026-09-08 TypeScript reports excessive complexity on a large form whose values include Dayjs or Decimal. The recursive helpers behind `Path` and `FieldErrors` stopped only at primitives, so a rich value type got walked member by member. On 7.87.0 register it as an opaque leaf with declaration merging into `interface OpaqueTypes`, which keeps the helper from descending into it. evidence |
Sorted by severity. Your agent sees the subset that matches the version you have installed: traps(library: "react-hook-form", version: "7.87.0").