{"version":"2.0.27","anchor":"lazy-loading-of-yoga-rendering-library","canonical_anchor":"lazy-loading-of-yoga-rendering-library","heading":"Lazy Loading of Yoga Rendering Library","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.27\/e\/lazy-loading-of-yoga-rendering-library","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.27","markdown":"### Lazy Loading of Yoga Rendering Library\n\n**What:** The Yoga WASM rendering library is now loaded on-demand instead of during startup, significantly improving CLI startup time for non-rendering operations.\n\n**How it works:**\n\n- Yoga library loads only when rendering is actually needed\n- Automatic error checking prevents usage before initialization\n- Memoization ensures the library loads only once\n- Most CLI commands (git operations, file reading, etc.) now start faster\n\n**Details:**\n\n- Previous version loaded Yoga synchronously during startup at multiple points\n- New version uses lazy async loading with `await xq0()` memoization\n- Error guard function `EL9() at line 53524` throws \"Yoga not loaded\" if accessed prematurely\n- Single initialization point at `OR9() at line 71850` replaces multiple `await hp()` calls\n- **Evidence**: `Wq0() at line 52532`, `EL9() at line 53524`, `NMA() at line 53603` (replaced synchronous `hp() at line 52526` in v2.0.26)"}