Learn / Upgrading across the MetaKit unification

Upgrading across the MetaKit unification (Phases 1–4)

This guide lists every breaking change from unifying expressions, laws, operators, aggregates, and SSR resumption onto @doeixd/metakit, ordered by what breaks first when you upgrade.

1. foldkit-entity: Laws moved to foldkit-entity/laws

Compiler error: Module '"foldkit-entity"' has no exported member 'Laws'.

Before:

ts
import { Entity, Laws } from 'foldkit-entity'

After:

ts
import { Entity } from 'foldkit-entity'
import { Laws } from 'foldkit-entity/laws'

Why: Keeping the static law checker off the main entry stops browser pages from bundling proof code they never run.