Skip to content

Docs async react hooks#8352

Open
adi-rajput wants to merge 2 commits intoreactjs:mainfrom
adi-rajput:docs-async-react-hooks
Open

Docs async react hooks#8352
adi-rajput wants to merge 2 commits intoreactjs:mainfrom
adi-rajput:docs-async-react-hooks

Conversation

@adi-rajput
Copy link

Description:

Update the Hooks reference page to introduce a new Async React Hooks section.

This groups together async-related hooks to better reflect React 19 patterns around Actions and improve discoverability of related APIs.

Changes:

  • Add a new Async React Hooks section on the Hooks reference page
  • Group useTransition, useActionState, and useOptimistic under this section
  • Remove useActionState from the Other Hooks section to avoid duplication
  • Follow the existing hooks index format using bullet links and short descriptions

Related issue(s):

Fixes #8316

Notes for reviewer:

The change is localized to the Hooks reference page and follows the existing documentation structure.
No hook behavior or API documentation was modified—only the organization of the hooks index page.

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@meta-cla meta-cla bot added the CLA Signed label Mar 11, 2026
@github-actions
Copy link

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! 🙌

@adi-rajput
Copy link
Author

Hi maintainers 👋
Just checking if there are any updates or feedback on this PR. Happy to make any changes if needed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion]: Add Async React Hooks section to hooks

1 participant