Capítulo 34 de 39
<FormState> (7.68.0+) is useFormState packaged as a renderless component — subscribe to form state declaratively in JSX via a render prop instead of calling the hook in a separate component.
useFormState: control (optional inside FormProvider), name (single/array/all), disabled, exact.FormStateSubscribe; renamed to FormState (2026-08-01 docs update) — if older material or code references FormStateSubscribe, it's the same component.name limits re-renders to when that field's state actually changes, without needing to extract a separate child component just to call useFormState.<FormState
control={control}
name="foo"
render={({ errors }) => <span>{errors.foo?.message}</span>}
/>
foo's form state changes — no separate child component needed.FormStateSubscribe in current docs/exports and not finding it: it was renamed to FormState — same API.<FormState> exists so you don't have to extract a child component solely to call useFormState for re-render isolation.FormStateSubscribe; both names refer to the same component in different doc eras.<FormState>, render with <ErrorMessage>.