ScrumIA

← All modules

📝 scrumia-rhf

Declarative forms, owned by the library end to end.

slot · none version · 0.1.0

What it is responsible for

Owns the how for React Hook Form in a React app: a form declares a resolver (validation is one schema, not per-field logic), its inputs are registered through the library, and its state is read through watch, getValues, formState or handleSubmit. Three refusals, one audit skill, cited against react-hook-form.com pinned to v7.

What it refuses

No form without a resolver, no useState + onChange pair where register() already covers it, no state read through the DOM. A SolidJS app pays no cost — the contributions are scoped to scrumia-impl-reactjs only.

The assumption it makes

Assumes the form library is the source of truth for value, validation, touched and dirty state, and submission. Costs the unlearning of a hand-rolled form state, which a project pays once on adopting and stops paying on the next form it ships.

Its skills

Tags

What it plugs into

RegisterDirectionModule
implementcontributesscrumia-github-project
reviewcontributesscrumia-github-project

Install it

/plugin install scrumia-rhf@scrumia

Read the source on GitHub