useViewUpdate
Overview
Extracts all reactive state and wiring for an update view of a single model instance. The caller owns the template; this composable owns object fetching, form context setup, action availability, error combination, and submission handling.
Pass the component's props directly as options. After calling this composable, provide formContext under FormContextSymbol so that nested field components can inject it.
Signature
useViewUpdate(options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| options | ViewUpdateOptions | yes |
Returns
Source
client/lib/use/useViewUpdate.js:82