You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert rollout state of enableCache in React Native to next major only (#28565)
## Summary
We're working on enabling the use of microtasks in React Native by
default when using the new architecture. To enable this we need to
synchronize the RN renderers from React, but doing this causes an error
because the renderers now rely on an object defined in
`React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`
(`ReactCurrentCache`) that's hasn't been released as a stable version
yet (cache).
This reverts the change done in #28519 to avoid enabling the cache API
in RN until we release a new version of React in npm.
## How did you test this change?
Manually built the RN renderer, copied it to the RN repository and
tested e2e in RNTester.
DiffTrain build for commit 9372c63.
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25454,7 +25454,7 @@ if (__DEV__) {
25454
25454
return root;
25455
25455
}
25456
25456
25457
-
var ReactVersion = "18.3.0-canary-a870b2d54-20240314";
25457
+
var ReactVersion = "18.3.0-canary-9372c6311-20240315";
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9175,7 +9175,7 @@ var devToolsConfig$jscomp$inline_1016 = {
9175
9175
throwError("TestRenderer does not support findFiberByHostInstance()");
9176
9176
},
9177
9177
bundleType: 0,
9178
-
version: "18.3.0-canary-a870b2d54-20240314",
9178
+
version: "18.3.0-canary-9372c6311-20240315",
9179
9179
rendererPackageName: "react-test-renderer"
9180
9180
};
9181
9181
varinternals$jscomp$inline_1194={
@@ -9206,7 +9206,7 @@ var internals$jscomp$inline_1194 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9603,7 +9603,7 @@ var devToolsConfig$jscomp$inline_1058 = {
9603
9603
throwError("TestRenderer does not support findFiberByHostInstance()");
9604
9604
},
9605
9605
bundleType: 0,
9606
-
version: "18.3.0-canary-a870b2d54-20240314",
9606
+
version: "18.3.0-canary-9372c6311-20240315",
9607
9607
rendererPackageName: "react-test-renderer"
9608
9608
};
9609
9609
varinternals$jscomp$inline_1235={
@@ -9634,7 +9634,7 @@ var internals$jscomp$inline_1235 = {
0 commit comments