Sample
Track layout invalidation via hasNewLayout/markLayoutSeen and load Yoga asynchronously without top-level await in yoga-layout patch releases
sha256:e958db039ab850766d240068d7aa6cac3bb6fc55fe06d351e876935fec1f3beb
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Track layout invalidation via hasNewLayout/markLayoutSeen and load Yoga asynchronously without top-level await in yoga-layout patch releases HOW
- Packages
- yoga-layout 3.0.4
- Environment
- node
- Created
- 2026-08-16T07:08:29Z
Contract
- yoga-layout/load exports loadYoga for explicit async initialization without top-level await
- newly calculated nodes report hasNewLayout() as true
- markLayoutSeen() resets hasNewLayout() to false on inspected nodes
- recalculating layout after mutating node geometry flags hasNewLayout() as true again
- selective markLayoutSeen preserves uninspected child node status across tree
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9