Skip to main content

Type Alias: UseItemOpts

UseItemOpts = object

Defined in: react/hooks.ts:57

Options for the useItem hook.

Properties

PropertyTypeDescriptionDefined 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