Commit 3fa9544
committed
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.1 parent ecb9703 commit 3fa9544
File tree
7 files changed
+9
-9
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
7 files changed
+9
-9
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25454 | 25454 | | |
25455 | 25455 | | |
25456 | 25456 | | |
25457 | | - | |
| 25457 | + | |
25458 | 25458 | | |
25459 | 25459 | | |
25460 | 25460 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9175 | 9175 | | |
9176 | 9176 | | |
9177 | 9177 | | |
9178 | | - | |
| 9178 | + | |
9179 | 9179 | | |
9180 | 9180 | | |
9181 | 9181 | | |
| |||
9206 | 9206 | | |
9207 | 9207 | | |
9208 | 9208 | | |
9209 | | - | |
| 9209 | + | |
9210 | 9210 | | |
9211 | 9211 | | |
9212 | 9212 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9603 | 9603 | | |
9604 | 9604 | | |
9605 | 9605 | | |
9606 | | - | |
| 9606 | + | |
9607 | 9607 | | |
9608 | 9608 | | |
9609 | 9609 | | |
| |||
9634 | 9634 | | |
9635 | 9635 | | |
9636 | 9636 | | |
9637 | | - | |
| 9637 | + | |
9638 | 9638 | | |
9639 | 9639 | | |
9640 | 9640 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
| 627 | + | |
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments