Skip to content

Fix server functions page crash from stale code highlight#8531

Merged
aurorascharff merged 1 commit into
reactjs:mainfrom
MaxwellCohen:fix/8523/server-functions-page
Jul 10, 2026
Merged

Fix server functions page crash from stale code highlight#8531
aurorascharff merged 1 commit into
reactjs:mainfrom
MaxwellCohen:fix/8523/server-functions-page

Conversation

@MaxwellCohen

@MaxwellCohen MaxwellCohen commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes a crash on /reference/rsc/server-functions where CodeBlock threw Could not find: 'submitAction' while resolving inline highlights.
  • Updates the highlight meta from line 23 → 25 after a recent update wrapped post-await setState calls in a nested startTransition, shifting <form action={submitAction}> down two lines.

Before

image

After

image

Test plan

Fixes: #8523

Made with Cursor

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@aurorascharff aurorascharff merged commit 1dcc709 into reactjs:main Jul 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: server function page is broken

2 participants