Remix Validated Form

RVF v6 has been released!

For new projects, we recommend starting with v6. For existing projects, there's a migration guide available.

(formId?: string) => (field: string, value: unknown) => void

Used to update a value being tracked with useControlField. This is useful for when you don't want to render every time the value changes, but still need to be able to change the value. This hook can also update the value for any field without having to call the hook multiple times.