Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert yieldy behavior for non-use Suspense #25537

Merged
merged 2 commits into from
Oct 22, 2022

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Oct 22, 2022

To derisk the rollout of use, and simplify the implementation, this reverts the yield-to-microtasks behavior for promises that are thrown directly (as opposed to being unwrapped by use).

We may add this back later. However, the plan is to deprecate throwing a promise directly and migrate all existing Suspense code to use, so the extra code probably isn't worth it.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Oct 22, 2022
@sizebot
Copy link

sizebot commented Oct 22, 2022

Comparing: 9341775...5f9d29a

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 136.02 kB 135.67 kB = 43.54 kB 43.46 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 154.36 kB 154.31 kB = 49.22 kB 49.20 kB
facebook-www/ReactDOM-prod.classic.js = 493.96 kB 493.82 kB = 87.91 kB 87.89 kB
facebook-www/ReactDOM-prod.modern.js = 479.22 kB 479.08 kB = 85.73 kB 85.71 kB
facebook-www/ReactDOMForked-prod.classic.js = 493.96 kB 493.82 kB = 87.91 kB 87.89 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-experimental/react-dom/cjs/react-dom-unstable_testing.development.js = 1,102.73 kB 1,100.49 kB = 245.97 kB 245.29 kB
facebook-www/ReactDOMTesting-dev.classic.js = 1,128.38 kB 1,126.05 kB = 250.68 kB 249.97 kB
oss-stable/react-dom/umd/react-dom.profiling.min.js = 144.96 kB 144.66 kB = 46.48 kB 46.35 kB
oss-stable-semver/react-dom/umd/react-dom.profiling.min.js = 144.93 kB 144.63 kB = 46.48 kB 46.35 kB
oss-stable/react-dom/umd/react-dom.development.js = 1,123.57 kB 1,121.23 kB = 242.32 kB 241.65 kB
oss-stable-semver/react-dom/umd/react-dom.development.js = 1,123.55 kB 1,121.21 kB = 242.30 kB 241.63 kB
oss-stable/react-dom/cjs/react-dom.development.js = 1,071.28 kB 1,069.04 kB = 239.55 kB 238.88 kB
oss-stable-semver/react-dom/cjs/react-dom.development.js = 1,071.25 kB 1,069.02 kB = 239.53 kB 238.86 kB
oss-stable/react-dom/cjs/react-dom.profiling.min.js = 145.51 kB 145.20 kB = 45.98 kB 45.87 kB
oss-stable-semver/react-dom/cjs/react-dom.profiling.min.js = 145.48 kB 145.18 kB = 45.98 kB 45.87 kB
facebook-www/ReactDOMTesting-dev.modern.js = 1,099.49 kB 1,097.16 kB = 244.94 kB 244.23 kB
react-native/implementations/ReactNativeRenderer-profiling.fb.js = 353.92 kB 353.15 kB = 62.22 kB 62.01 kB
react-native/implementations/ReactFabric-profiling.fb.js = 347.15 kB 346.38 kB = 61.09 kB 60.90 kB
oss-experimental/react-dom/cjs/react-dom-unstable_testing.production.min.js = 147.14 kB 146.79 kB = 47.34 kB 47.21 kB
react-native/implementations/ReactNativeRenderer-dev.fb.js = 868.21 kB 866.00 kB = 187.44 kB 186.75 kB
react-native/implementations/ReactFabric-dev.fb.js = 858.69 kB 856.47 kB = 184.99 kB 184.33 kB
oss-stable/react-dom/umd/react-dom.production.min.js = 136.12 kB 135.77 kB = 44.24 kB 44.10 kB
oss-stable-semver/react-dom/umd/react-dom.production.min.js = 136.10 kB 135.75 kB = 44.24 kB 44.10 kB
react-native/implementations/ReactNativeRenderer-prod.fb.js = 327.15 kB 326.31 kB = 58.03 kB 57.83 kB
oss-stable/react-dom/cjs/react-dom.production.min.js = 136.02 kB 135.67 kB = 43.54 kB 43.46 kB
oss-stable-semver/react-dom/cjs/react-dom.production.min.js = 136.00 kB 135.65 kB = 43.54 kB 43.46 kB
react-native/implementations/ReactNativeRenderer-profiling.js = 335.98 kB 335.10 kB = 59.14 kB 58.92 kB
react-native/implementations/ReactFabric-prod.fb.js = 320.45 kB 319.60 kB = 56.95 kB 56.75 kB
react-native/implementations/ReactFabric-profiling.js = 329.19 kB 328.31 kB = 58.10 kB 57.89 kB
react-native/implementations/ReactNativeRenderer-prod.js = 316.76 kB 315.92 kB = 56.02 kB 55.82 kB
react-native/implementations/ReactFabric-prod.js = 310.07 kB 309.22 kB = 54.95 kB 54.75 kB
react-native/implementations/ReactNativeRenderer-dev.js = 830.14 kB 827.82 kB = 180.17 kB 179.46 kB
oss-stable/react-reconciler/cjs/react-reconciler.development.js = 790.16 kB 787.92 kB = 168.28 kB 167.62 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.development.js = 790.13 kB 787.90 kB = 168.26 kB 167.60 kB
oss-stable/react-art/umd/react-art.development.js = 826.43 kB 824.09 kB = 173.83 kB 173.15 kB
oss-stable-semver/react-art/umd/react-art.development.js = 826.41 kB 824.07 kB = 173.81 kB 173.13 kB
react-native/implementations/ReactFabric-dev.js = 820.60 kB 818.27 kB = 177.72 kB 177.01 kB
oss-stable/react-reconciler/cjs/react-reconciler.profiling.min.js = 106.30 kB 106.00 kB = 32.16 kB 32.05 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.profiling.min.js = 106.28 kB 105.98 kB = 32.14 kB 32.03 kB
oss-stable/react-art/umd/react-art.production.min.js = 121.66 kB 121.31 kB = 37.78 kB 37.67 kB
oss-stable-semver/react-art/umd/react-art.production.min.js = 121.63 kB 121.28 kB = 37.78 kB 37.67 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-profiling.js = 297.88 kB 297.00 kB = 52.51 kB 52.29 kB
oss-experimental/react-server/cjs/react-server.development.js = 144.99 kB 144.56 kB = 36.12 kB 36.00 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-prod.js = 282.25 kB 281.41 kB = 50.13 kB 49.94 kB
facebook-www/ReactTestRenderer-dev.classic.js = 758.25 kB 755.93 kB = 161.99 kB 161.29 kB
facebook-www/ReactTestRenderer-dev.modern.js = 758.25 kB 755.93 kB = 161.99 kB 161.29 kB
oss-stable/react-art/cjs/react-art.development.js = 721.34 kB 719.10 kB = 155.72 kB 155.03 kB
oss-stable-semver/react-art/cjs/react-art.development.js = 721.31 kB 719.08 kB = 155.70 kB 155.00 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-dev.js = 742.08 kB 739.75 kB = 158.78 kB 158.09 kB
oss-experimental/react-test-renderer/umd/react-test-renderer.development.js = 762.67 kB 760.24 kB = 158.90 kB 158.21 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.development.js = 727.97 kB 725.65 kB = 157.25 kB 156.54 kB
oss-stable/react-test-renderer/umd/react-test-renderer.development.js = 732.80 kB 730.37 kB = 153.14 kB 152.43 kB
oss-stable-semver/react-test-renderer/umd/react-test-renderer.development.js = 732.78 kB 730.35 kB = 153.11 kB 152.41 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.development.js = 699.56 kB 697.24 kB = 151.53 kB 150.85 kB
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.development.js = 699.53 kB 697.21 kB = 151.50 kB 150.82 kB
oss-experimental/react-test-renderer/umd/react-test-renderer.production.min.js = 98.16 kB 97.81 kB = 30.43 kB 30.33 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.production.min.js = 97.92 kB 97.56 kB = 30.01 kB 29.91 kB
oss-stable/react-reconciler/cjs/react-reconciler.production.min.js = 97.47 kB 97.11 kB = 29.97 kB 29.85 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.production.min.js = 97.45 kB 97.09 kB = 29.94 kB 29.83 kB
oss-stable/react-test-renderer/umd/react-test-renderer.production.min.js = 93.49 kB 93.14 kB = 29.16 kB 29.04 kB
oss-stable-semver/react-test-renderer/umd/react-test-renderer.production.min.js = 93.46 kB 93.11 kB = 29.15 kB 29.04 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.production.min.js = 93.24 kB 92.88 kB = 28.69 kB 28.58 kB
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.production.min.js = 93.21 kB 92.86 kB = 28.69 kB 28.58 kB
oss-stable/react-art/cjs/react-art.production.min.js = 85.78 kB 85.42 kB = 26.59 kB 26.47 kB
oss-stable-semver/react-art/cjs/react-art.production.min.js = 85.75 kB 85.40 kB = 26.59 kB 26.47 kB
oss-stable/react-dom/cjs/react-dom-server.node.production.min.js = 45.20 kB 44.91 kB = 14.95 kB 14.87 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.production.min.js = 45.17 kB 44.88 kB = 14.93 kB 14.85 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.production.min.js = 42.55 kB 42.26 kB = 13.93 kB 13.85 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.production.min.js = 42.52 kB 42.24 kB = 13.91 kB 13.83 kB
oss-stable/react-dom/umd/react-dom-server.browser.production.min.js = 41.80 kB 41.52 kB = 14.04 kB 13.94 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.production.min.js = 41.78 kB 41.49 kB = 14.01 kB 13.92 kB
oss-stable/react-dom/cjs/react-dom-server.browser.production.min.js = 41.70 kB 41.41 kB = 13.89 kB 13.81 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.production.min.js = 41.68 kB 41.39 kB = 13.87 kB 13.79 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.production.min.js = 38.79 kB 38.50 kB = 12.91 kB 12.82 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.production.min.js = 38.77 kB 38.48 kB = 12.89 kB 12.80 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.production.min.js = 38.68 kB 38.39 kB = 12.75 kB 12.66 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.production.min.js = 38.66 kB 38.37 kB = 12.73 kB 12.64 kB
oss-stable/react-dom/cjs/react-dom-server.node.development.js = 284.65 kB 282.44 kB = 66.29 kB 65.60 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.development.js = 284.63 kB 282.42 kB = 66.19 kB 65.50 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.development.js = 284.63 kB 282.42 kB = 66.27 kB 65.58 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.development.js = 284.61 kB 282.40 kB = 66.16 kB 65.48 kB
oss-stable/react-dom/umd/react-dom-server.browser.development.js = 297.12 kB 294.81 kB = 67.05 kB 66.36 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.development.js = 297.10 kB 294.78 kB = 67.02 kB 66.34 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.development.js = 296.66 kB 294.34 kB = 66.42 kB 65.73 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.development.js = 296.63 kB 294.32 kB = 66.40 kB 65.71 kB
oss-stable/react-dom/cjs/react-dom-server.browser.development.js = 283.39 kB 281.18 kB = 66.34 kB 65.64 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.development.js = 283.37 kB 281.15 kB = 66.31 kB 65.62 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.development.js = 282.93 kB 280.71 kB = 65.72 kB 65.03 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.development.js = 282.90 kB 280.69 kB = 65.70 kB 65.01 kB
oss-stable-semver/react-server/cjs/react-server.production.min.js = 21.87 kB 21.58 kB = 7.50 kB 7.41 kB
oss-stable/react-server/cjs/react-server.production.min.js = 21.87 kB 21.58 kB = 7.50 kB 7.41 kB
oss-stable-semver/react-server/cjs/react-server.development.js = 138.26 kB 136.05 kB = 34.63 kB 33.94 kB
oss-stable/react-server/cjs/react-server.development.js = 138.26 kB 136.05 kB = 34.63 kB 33.94 kB

Generated by 🚫 dangerJS against 5f9d29a

The distinction between "wakeable" and "thenable" isn't really
important in these files anymore so we should just pick one.
To derisk the rollout of `use`, and simplify the implementation, this
reverts the yield-to-microtasks behavior for promises that are thrown
directly (as opposed to being unwrapped by `use`).

We may add this back later. However, the plan is to deprecate throwing a
promise directly and migrate all existing Suspense code to `use`, so the
extra code probably isn't worth it.
@acdlite acdlite marked this pull request as ready for review October 22, 2022 21:40
@acdlite acdlite merged commit dd5c208 into facebook:main Oct 22, 2022
acdlite added a commit to acdlite/react that referenced this pull request Oct 23, 2022
Same as facebook#25537 but for Flight.

I was going to wait to do this later because the temporary
implementation of async components uses some of the same code that
non-used wakables do, but it's not so bad. I just had to inline one bit
of code, which we'll remove when we unify the implementation with `use`.
acdlite added a commit to acdlite/react that referenced this pull request Oct 23, 2022
Same as facebook#25537 but for Flight.

I was going to wait to do this later because the temporary
implementation of async components uses some of the same code that
non-used wakables do, but it's not so bad. I just had to inline one bit
of code, which we'll remove when we unify the implementation with `use`.
acdlite added a commit that referenced this pull request Oct 23, 2022
Same as #25537 but for Flight.

I was going to wait to do this later because the temporary
implementation of async components uses some of the same code that
non-used wakables do, but it's not so bad. I just had to inline one bit
of code, which we'll remove when we unify the implementation with `use`.
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Nov 1, 2022
Summary:
This sync includes the following changes:
- **[ab075a232](facebook/react@ab075a232 )**: Do not unmount layout effects on initial Offscreen mount ([#25592](facebook/react#25592)) //<Samuel Susla>//
- **[765805bf8](facebook/react@765805bf8 )**: Fix type check for null ([#25595](facebook/react#25595)) //<Sebastian Markbåge>//
- **[2ac77aab9](facebook/react@2ac77aab9 )**: Clean up vestige of useOpaqueIdentifier ([#25587](facebook/react#25587)) //<Andrew Clark>//
- **[bdd3d0807](facebook/react@bdd3d0807 )**: Extract logic for detecting bad fallback to helper //<Andrew Clark>//
- **[952dfff3f](facebook/react@952dfff3f )**: Split suspended work loop logic into separate functions //<Andrew Clark>//
- **[d2c0ab10d](facebook/react@d2c0ab10d )**: In work loop, add enum of reasons for suspending //<Andrew Clark>//
- **[5450dd409](facebook/react@5450dd409 )**: Strict Mode: Reuse memoized result from first pass ([#25583](facebook/react#25583)) //<Andrew Clark>//
- **[d2a0176a1](facebook/react@d2a0176a1 )**: Detect and warn if use(promise) is wrapped with try/catch block ([#25543](facebook/react#25543)) //<Andrew Clark>//
- **[cf3932be5](facebook/react@cf3932be5 )**: Remove old react-fetch, react-fs and react-pg libraries ([#25577](facebook/react#25577)) //<Sebastian Markbåge>//
- **[28a574ea8](facebook/react@28a574ea8 )**: Try assigning fetch to globalThis if global assignment fails ([#25571](facebook/react#25571)) //<Sebastian Markbåge>//
- **[09def5990](facebook/react@09def5990 )**: [Float] handle noscript context for Resources ([#25559](facebook/react#25559)) //<Josh Story>//
- **[17204056d](facebook/react@17204056d )**: [Float] fix coordination of resource identity and hydration ([#25569](facebook/react#25569)) //<Josh Story>//
- **[d925a8d0b](facebook/react@d925a8d0b )**: Flight client error stack ([#25560](facebook/react#25560)) //<Josh Story>//
- **[996b00b78](facebook/react@996b00b78 )**: [Tiny] Fixed incorrect import in `react-server-dom-webpack` ([#25554](facebook/react#25554)) //<Leo Lamprecht>//
- **[e7c5af45c](facebook/react@e7c5af45c )**: Update cache() and use() to the canary aka next channel ([#25502](facebook/react#25502)) //<Sebastian Markbåge>//
- **[fa77f52e7](facebook/react@fa77f52e7 )**: Unify promise switch statements //<Andrew Clark>//
- **[7572e4931](facebook/react@7572e4931 )**: Track thenable state in work loop //<Andrew Clark>//
- **[7fc3eefd8](facebook/react@7fc3eefd8 )**: Revert yieldy behavior for non-use Suspense (in Flight, too) //<Andrew Clark>//
- **[61f9b5e97](facebook/react@61f9b5e97 )**: [Float] support <base> as Resource ([#25546](facebook/react#25546)) //<Josh Story>//
- **[1d3fc9c9c](facebook/react@1d3fc9c9c )**: Bug fix when resolving cache ([#25545](facebook/react#25545)) //<Sebastian Markbåge>//
- **[cce18e350](facebook/react@cce18e350 )**: [Flight] Use AsyncLocalStorage to extend the scope of the cache to micro tasks ([#25542](facebook/react#25542)) //<Sebastian Markbåge>//
- **[caa84c8da](facebook/react@caa84c8da )**: Revert fetch instrumentation to only RSC ([#25540](facebook/react#25540)) //<Sebastian Markbåge>//
- **[0c11baa6a](facebook/react@0c11baa6a )**: add warnings for non-resources rendered outside body or head ([#25532](facebook/react#25532)) //<Josh Story>//
- **[9236abdb5](facebook/react@9236abdb5 )**: when float is enabled only push title and script as a single unit ([#25536](facebook/react#25536)) //<Josh Story>//
- **[dd5c20825](facebook/react@dd5c20825 )**: Revert yieldy behavior for non-use Suspense ([#25537](facebook/react#25537)) //<Andrew Clark>//
- **[934177598](facebook/react@934177598 )**: fix transposed escape functions ([#25534](facebook/react#25534)) //<Josh Story>//
- **[d1ced9fd5](facebook/react@d1ced9fd5 )**: [Float] support all links as Resources ([#25515](facebook/react#25515)) //<Josh Story>//
- **[973b90bdf](facebook/react@973b90bdf )**: [Float] support meta tags as Resources ([#25514](facebook/react#25514)) //<Josh Story>//
- **[79c582981](facebook/react@79c582981 )**: Let ReactDOM initialize in RSC ([#25503](facebook/react#25503)) //<Sebastian Markbåge>//
- **[1f7a2f577](facebook/react@1f7a2f577 )**: [Float] support title tags as Resources ([#25508](facebook/react#25508)) //<Josh Story>//
- **[c63580787](facebook/react@c63580787 )**: Support `use` in `act` testing API ([#25523](facebook/react#25523)) //<Andrew Clark>//
- **[65e32e58b](facebook/react@65e32e58b )**: Add fetch Instrumentation to Dedupe Fetches ([#25516](facebook/react#25516)) //<Sebastian Markbåge>//
- **[9336e29d9](facebook/react@9336e29d9 )**: [useEvent] Lint for presence of useEvent functions in dependency lists ([#25512](facebook/react#25512)) //<lauren>//
- **[3cc792bfb](facebook/react@3cc792bfb )**: [useEvent] Non-stable function identity ([#25473](facebook/react#25473)) //<lauren>//
- **[987292815](facebook/react@987292815 )**: Remove feature flag enableStrictEffects ([#25387](facebook/react#25387)) //<Samuel Susla>//
- **[8e2bde6f2](facebook/react@8e2bde6f2 )**: Add cache() API ([#25506](facebook/react#25506)) //<Sebastian Markbåge>//
- **[9cdf8a99e](facebook/react@9cdf8a99e )**: [Codemod] Update copyright header to Meta ([#25315](facebook/react#25315)) //<Andrew Clark>//
- **[e54015e26](facebook/react@e54015e26 )**: Refactor: fill in the flow missing type ([#25496](facebook/react#25496)) //<c0dedance>//
- **[3b1fd5767](facebook/react@3b1fd5767 )**: refactor: Flow: typing of Scheduler ([#25485](facebook/react#25485)) //<bubucuo>//
- **[14072ce64](facebook/react@14072ce64 )**: Add detach to Offscreen component ([#25265](facebook/react#25265)) //<Samuel Susla>//
- **[3bb71dfd4](facebook/react@3bb71dfd4 )**: Rename react-server-dom-webpack entry points to /client and /server ([#25504](facebook/react#25504)) //<Sebastian Markbåge>//
- **[71f2c8cf1](facebook/react@71f2c8cf1 )**: move resource acquisition to mutation phase ([#25500](facebook/react#25500)) //<Josh Story>//
- **[500bea532](facebook/react@500bea532 )**: Add option to load Fizz runtime from external file ([#25499](facebook/react#25499)) //<Andrew Clark>//
- **[4494f2a86](facebook/react@4494f2a86 )**: [Float] add support for scripts and other enhancements ([#25480](facebook/react#25480)) //<Josh Story>//
- **[9ecf84ed7](facebook/react@9ecf84ed7 )**: Bugfix: Suspending in shell during discrete update ([#25495](facebook/react#25495)) //<Andrew Clark>//

Changelog:
[General][Changed] - React Native sync for revisions 54f297a...ab075a2

jest_e2e[run_all_tests]

Reviewed By: kassens

Differential Revision: D40897093

fbshipit-source-id: 6a040315834dea5c0ab994ea94d91f5605b9d6b0
rickhanlonii pushed a commit that referenced this pull request Dec 3, 2022
To derisk the rollout of `use`, and simplify the implementation, this
reverts the yield-to-microtasks behavior for promises that are thrown
directly (as opposed to being unwrapped by `use`).

We may add this back later. However, the plan is to deprecate throwing a
promise directly and migrate all existing Suspense code to `use`, so the
extra code probably isn't worth it.
rickhanlonii pushed a commit that referenced this pull request Dec 3, 2022
Same as #25537 but for Flight.

I was going to wait to do this later because the temporary
implementation of async components uses some of the same code that
non-used wakables do, but it's not so bad. I just had to inline one bit
of code, which we'll remove when we unify the implementation with `use`.
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
This sync includes the following changes:
- **[ab075a232](facebook/react@ab075a232 )**: Do not unmount layout effects on initial Offscreen mount ([facebook#25592](facebook/react#25592)) //<Samuel Susla>//
- **[765805bf8](facebook/react@765805bf8 )**: Fix type check for null ([facebook#25595](facebook/react#25595)) //<Sebastian Markbåge>//
- **[2ac77aab9](facebook/react@2ac77aab9 )**: Clean up vestige of useOpaqueIdentifier ([facebook#25587](facebook/react#25587)) //<Andrew Clark>//
- **[bdd3d0807](facebook/react@bdd3d0807 )**: Extract logic for detecting bad fallback to helper //<Andrew Clark>//
- **[952dfff3f](facebook/react@952dfff3f )**: Split suspended work loop logic into separate functions //<Andrew Clark>//
- **[d2c0ab10d](facebook/react@d2c0ab10d )**: In work loop, add enum of reasons for suspending //<Andrew Clark>//
- **[5450dd409](facebook/react@5450dd409 )**: Strict Mode: Reuse memoized result from first pass ([facebook#25583](facebook/react#25583)) //<Andrew Clark>//
- **[d2a0176a1](facebook/react@d2a0176a1 )**: Detect and warn if use(promise) is wrapped with try/catch block ([facebook#25543](facebook/react#25543)) //<Andrew Clark>//
- **[cf3932be5](facebook/react@cf3932be5 )**: Remove old react-fetch, react-fs and react-pg libraries ([facebook#25577](facebook/react#25577)) //<Sebastian Markbåge>//
- **[28a574ea8](facebook/react@28a574ea8 )**: Try assigning fetch to globalThis if global assignment fails ([facebook#25571](facebook/react#25571)) //<Sebastian Markbåge>//
- **[09def5990](facebook/react@09def5990 )**: [Float] handle noscript context for Resources ([facebook#25559](facebook/react#25559)) //<Josh Story>//
- **[17204056d](facebook/react@17204056d )**: [Float] fix coordination of resource identity and hydration ([facebook#25569](facebook/react#25569)) //<Josh Story>//
- **[d925a8d0b](facebook/react@d925a8d0b )**: Flight client error stack ([facebook#25560](facebook/react#25560)) //<Josh Story>//
- **[996b00b78](facebook/react@996b00b78 )**: [Tiny] Fixed incorrect import in `react-server-dom-webpack` ([facebook#25554](facebook/react#25554)) //<Leo Lamprecht>//
- **[e7c5af45c](facebook/react@e7c5af45c )**: Update cache() and use() to the canary aka next channel ([facebook#25502](facebook/react#25502)) //<Sebastian Markbåge>//
- **[fa77f52e7](facebook/react@fa77f52e7 )**: Unify promise switch statements //<Andrew Clark>//
- **[7572e4931](facebook/react@7572e4931 )**: Track thenable state in work loop //<Andrew Clark>//
- **[7fc3eefd8](facebook/react@7fc3eefd8 )**: Revert yieldy behavior for non-use Suspense (in Flight, too) //<Andrew Clark>//
- **[61f9b5e97](facebook/react@61f9b5e97 )**: [Float] support <base> as Resource ([facebook#25546](facebook/react#25546)) //<Josh Story>//
- **[1d3fc9c9c](facebook/react@1d3fc9c9c )**: Bug fix when resolving cache ([facebook#25545](facebook/react#25545)) //<Sebastian Markbåge>//
- **[cce18e350](facebook/react@cce18e350 )**: [Flight] Use AsyncLocalStorage to extend the scope of the cache to micro tasks ([facebook#25542](facebook/react#25542)) //<Sebastian Markbåge>//
- **[caa84c8da](facebook/react@caa84c8da )**: Revert fetch instrumentation to only RSC ([facebook#25540](facebook/react#25540)) //<Sebastian Markbåge>//
- **[0c11baa6a](facebook/react@0c11baa6a )**: add warnings for non-resources rendered outside body or head ([facebook#25532](facebook/react#25532)) //<Josh Story>//
- **[9236abdb5](facebook/react@9236abdb5 )**: when float is enabled only push title and script as a single unit ([facebook#25536](facebook/react#25536)) //<Josh Story>//
- **[dd5c20825](facebook/react@dd5c20825 )**: Revert yieldy behavior for non-use Suspense ([facebook#25537](facebook/react#25537)) //<Andrew Clark>//
- **[934177598](facebook/react@934177598 )**: fix transposed escape functions ([facebook#25534](facebook/react#25534)) //<Josh Story>//
- **[d1ced9fd5](facebook/react@d1ced9fd5 )**: [Float] support all links as Resources ([facebook#25515](facebook/react#25515)) //<Josh Story>//
- **[973b90bdf](facebook/react@973b90bdf )**: [Float] support meta tags as Resources ([facebook#25514](facebook/react#25514)) //<Josh Story>//
- **[79c582981](facebook/react@79c582981 )**: Let ReactDOM initialize in RSC ([facebook#25503](facebook/react#25503)) //<Sebastian Markbåge>//
- **[1f7a2f577](facebook/react@1f7a2f577 )**: [Float] support title tags as Resources ([facebook#25508](facebook/react#25508)) //<Josh Story>//
- **[c63580787](facebook/react@c63580787 )**: Support `use` in `act` testing API ([facebook#25523](facebook/react#25523)) //<Andrew Clark>//
- **[65e32e58b](facebook/react@65e32e58b )**: Add fetch Instrumentation to Dedupe Fetches ([facebook#25516](facebook/react#25516)) //<Sebastian Markbåge>//
- **[9336e29d9](facebook/react@9336e29d9 )**: [useEvent] Lint for presence of useEvent functions in dependency lists ([facebook#25512](facebook/react#25512)) //<lauren>//
- **[3cc792bfb](facebook/react@3cc792bfb )**: [useEvent] Non-stable function identity ([facebook#25473](facebook/react#25473)) //<lauren>//
- **[987292815](facebook/react@987292815 )**: Remove feature flag enableStrictEffects ([facebook#25387](facebook/react#25387)) //<Samuel Susla>//
- **[8e2bde6f2](facebook/react@8e2bde6f2 )**: Add cache() API ([facebook#25506](facebook/react#25506)) //<Sebastian Markbåge>//
- **[9cdf8a99e](facebook/react@9cdf8a99e )**: [Codemod] Update copyright header to Meta ([facebook#25315](facebook/react#25315)) //<Andrew Clark>//
- **[e54015e26](facebook/react@e54015e26 )**: Refactor: fill in the flow missing type ([facebook#25496](facebook/react#25496)) //<c0dedance>//
- **[3b1fd5767](facebook/react@3b1fd5767 )**: refactor: Flow: typing of Scheduler ([facebook#25485](facebook/react#25485)) //<bubucuo>//
- **[14072ce64](facebook/react@14072ce64 )**: Add detach to Offscreen component ([facebook#25265](facebook/react#25265)) //<Samuel Susla>//
- **[3bb71dfd4](facebook/react@3bb71dfd4 )**: Rename react-server-dom-webpack entry points to /client and /server ([facebook#25504](facebook/react#25504)) //<Sebastian Markbåge>//
- **[71f2c8cf1](facebook/react@71f2c8cf1 )**: move resource acquisition to mutation phase ([facebook#25500](facebook/react#25500)) //<Josh Story>//
- **[500bea532](facebook/react@500bea532 )**: Add option to load Fizz runtime from external file ([facebook#25499](facebook/react#25499)) //<Andrew Clark>//
- **[4494f2a86](facebook/react@4494f2a86 )**: [Float] add support for scripts and other enhancements ([facebook#25480](facebook/react#25480)) //<Josh Story>//
- **[9ecf84ed7](facebook/react@9ecf84ed7 )**: Bugfix: Suspending in shell during discrete update ([facebook#25495](facebook/react#25495)) //<Andrew Clark>//

Changelog:
[General][Changed] - React Native sync for revisions 54f297a...ab075a2

jest_e2e[run_all_tests]

Reviewed By: kassens

Differential Revision: D40897093

fbshipit-source-id: 6a040315834dea5c0ab994ea94d91f5605b9d6b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants