Type Alias: UseItemOpts
UseItemOpts =
object
Defined in: react/hooks.ts:57
Options for the useItem hook.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
keys? | string | string[] | An optional array of field names to monitor, or single field name. If provided, the useItem hook will monitor only changes to these fields and ignore other changes. Use this to reduce unneeded re-rendering events. | react/hooks.ts:65 |