UsePersistentBlockIdentityOptions
Defined in: inspector-runtime-types.ts:175
Describe the options accepted by usePersistentBlockIdentity().
autoRepair defaults to enabled when omitted. Pass a stable or memoized
blocks reference so equivalent renders can reuse the same duplicate-repair
analysis instead of recomputing it.
Type Parameters
Section titled “Type Parameters”T extends object
Properties
Section titled “Properties”attributeName
Section titled “attributeName”attributeName:
AttributeNameFor<T>
Defined in: inspector-runtime-types.ts:176
attributes
Section titled “attributes”attributes:
T
Defined in: inspector-runtime-types.ts:177
autoRepair?
Section titled “autoRepair?”
optionalautoRepair?:boolean
Defined in: inspector-runtime-types.ts:178
blocks
Section titled “blocks”blocks: readonly
PersistentBlockIdentityNode[]
Defined in: inspector-runtime-types.ts:179
clientId
Section titled “clientId”clientId:
string
Defined in: inspector-runtime-types.ts:180
duplicateDetection?
Section titled “duplicateDetection?”
optionalduplicateDetection?:boolean
Defined in: inspector-runtime-types.ts:181
prefix
Section titled “prefix”prefix:
string
Defined in: inspector-runtime-types.ts:182
setAttributes
Section titled “setAttributes”setAttributes: (
attrs) =>void
Defined in: inspector-runtime-types.ts:183
Parameters
Section titled “Parameters”Partial<T>
Returns
Section titled “Returns”void