Skip to content

Intermact API Reference / @intermact/core / hashSnapshot

Function: hashSnapshot()

hashSnapshot(snapshot): string

Defined in: packages/core/src/serialize/frame-hash.ts:88

Stable hash of a whole snapshot (object ids sorted; per-object state hashed).

Parameters

snapshot

RenderSnapshot

Returns

string

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)