Skip to content

Documentation / @agentick/shared / DTSerializedHookState

Interface: DTSerializedHookState

Defined in: devtools.ts:328

Serialized hook state for fiber snapshots.

Properties

deps?

optional deps: unknown[]

Defined in: devtools.ts:336

Dependencies (for effects/memos)


index

index: number

Defined in: devtools.ts:330

Hook index in the component


status?

optional status: "pending" | "mounted" | "cleanup"

Defined in: devtools.ts:338

Effect status


subscribers?

optional subscribers: number

Defined in: devtools.ts:340

Number of signal subscribers (for useSignal)


type

type: DTHookType

Defined in: devtools.ts:332

Hook type


value

value: unknown

Defined in: devtools.ts:334

JSON-serializable hook value

Released under the ISC License.