mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
Adds native C++/JSC bindings for Facebook's Yoga flexbox layout engine, exposed as Bun.Yoga. This is a high-performance alternative to the yoga-layout npm package's WASM-based implementation. - Wraps Yoga v3.x C API via JSDestructibleObject/RefCounted pattern - Full API: Node, Config, all style setters/getters, layout calculation - All yoga-layout constants (ALIGN_*, FLEX_DIRECTION_*, EDGE_*, etc.) - Measure, dirtied, and baseline callback support - GC integration with IsoSubspaces and weak handle owners - 105 tests with 375 assertions