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

Upgrade React from 2d16326d-20240930 to 70fb1363-20241010 #71118

Merged
merged 9 commits into from
Oct 11, 2024
2 changes: 1 addition & 1 deletion test/e2e/app-dir/rsc-basic/app/css-in-js/suspense/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function page() {
<div>
<Footer id="footer">
{`wait for `}
<Suspense fallback={`fallback`}>
<Suspense fallback={`$test-fallback-sentinel`}>
<SuspenseyFooter />
</Suspense>
</Footer>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/app-dir/rsc-basic/rsc-basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ describe('app dir - rsc basics', () => {
const hasRCScript = /\$RC=function/.test(chunk)
if (hasRCScript) results.push('refresh-script')

const isFallbackResolved = chunk.includes('fallback')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fallback now matches Next.js source that was sent as debugging info. Specifically, const fallbackParams

const isFallbackResolved = chunk.includes('$test-fallback-sentinel')
if (isFallbackResolved) results.push('fallback')
})

Expand Down
Loading