Bump React Compiler to stable 1.0.0

babel-plugin-react-compiler and react-compiler-runtime move from the
19.1.0-rc.3 release candidate to stable 1.0.0. The stable compiler
handles existing manual memoization it previously refused to preserve:
components compiled goes from 1,895 to 1,958 and the skip rate drops
from 16.4% to 7.4%, eliminating all 214 "existing memoization could
not be preserved" bailouts (which covered hot paths like Search
Explore, MessageItem, LeftNav, and Post/Embed).

eslint-plugin-react-compiler stays on 19.1.0-rc.2 - it was folded into
eslint-plugin-react-hooks upstream and has no stable release to bump to.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Tomek Zawadzki
2026-08-12 11:06:31 +02:00
parent 0f8d095795
commit aac545eb07
2 changed files with 9 additions and 16 deletions
+2 -2
View File
@@ -217,7 +217,7 @@
"psl": "1.9.0",
"radix-ui": "^1.4.3",
"react": "19.2.3",
"react-compiler-runtime": "19.1.0-rc.3",
"react-compiler-runtime": "1.0.0",
"react-dom": "19.2.3",
"react-hotkeys-hook": "5.2.4",
"react-image-crop": "^11.0.7",
@@ -282,7 +282,7 @@
"@typescript/native": "npm:typescript@^7.0.2",
"babel-jest": "^29.7.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"babel-plugin-react-compiler": "1.0.0",
"babel-preset-expo": "~57.0.4",
"eslint-plugin-bsky-internal": "link:eslint",
"eslint-plugin-react-compiler": "19.1.0-rc.2",