Skip to content

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.

T extends object

attributeName: AttributeNameFor<T>

Defined in: inspector-runtime-types.ts:176


attributes: T

Defined in: inspector-runtime-types.ts:177


optional autoRepair?: boolean

Defined in: inspector-runtime-types.ts:178


blocks: readonly PersistentBlockIdentityNode[]

Defined in: inspector-runtime-types.ts:179


clientId: string

Defined in: inspector-runtime-types.ts:180


optional duplicateDetection?: boolean

Defined in: inspector-runtime-types.ts:181


prefix: string

Defined in: inspector-runtime-types.ts:182


setAttributes: (attrs) => void

Defined in: inspector-runtime-types.ts:183

Partial<T>

void