mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +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>
5 lines
442 B
Plaintext
5 lines
442 B
Plaintext
# Grandfathered code React Compiler would run differently (<file>#<function>:<hazard>).
|
|
# Generated; never hand-edit. Lower after a fix: pnpm check:react-compiler-compat-ratchet --prune
|
|
1 src/renderer/src/components/browser-pane/host-guest/browser-page-mount-admission.ts#useAnyBrowserPageMountAdmission:void-read
|
|
1 src/renderer/src/components/sidebar/worktree-list/listing/use-sleeping-sweep-retention.ts#useSleepingSweepRetention:void-read
|