mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
React Compiler drops bare `void x;` reads, narrows callback deps to the fields read, and oxc 0.152 emits `a[q.head++]` as a prefix update. Rewrite those sites so they behave the same with the compiler on, and identically to today with it off: - `void tick` memo invalidators -> `recomputeOn([tick], () => ...)` - `void el.offsetWidth` transition resets -> `forceLayoutReflow(el)` - pty termination queue reads, then advances, the head index - host agent preference subscription takes the whole subscription object Prunes the compiler-compat hazard baseline from 40 to 2 entries. Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>