跳转到内容

getUserComponentFingerprint

此内容尚不支持你的语言。

getUserComponentFingerprint(): string

Defined in: component.ts:423

A stable digest of the current context’s user component schemas — each component’s name plus its default field shape (keys + value types, recursively). The hot-reload fast path compares this across a project-bundle re-import: an unchanged digest means only system logic changed (hot-swap, keep the live World); a changed digest means a component’s fields changed and the live data no longer matches the new schema, so the realm must full-reload. Builtins are excluded (their C++-backed shape never changes). Default values are intentionally not hashed — only the shape gates a rebuild.

string