Skip to content

ecsia-monorepo / react/src / ComponentSnapshot

Type Alias: ComponentSnapshot<C>

ts
type ComponentSnapshot<C> = { readonly [K in keyof SchemaOf<C>]: SnapshotFieldValue<SchemaOf<C>[K]> };

Defined in: react/src/snapshot.ts:30

The frozen plain-object copy of a component's fields as of the last observer drain.

Type Parameters

Type Parameter
C extends ComponentDef<Schema>

MIT licensed · 0.x, unpublished, experimental.