Skip to content

Clarify pending state description in useTransition example#8550

Open
smith558 wants to merge 1 commit into
reactjs:mainfrom
smith558:patch-16
Open

Clarify pending state description in useTransition example#8550
smith558 wants to merge 1 commit into
reactjs:mainfrom
smith558:patch-16

Conversation

@smith558

Copy link
Copy Markdown
Contributor

The original wording was incorrect both grammatically and logically. Grammatically, “any requests is” mixes a plural noun with a singular verb. Logically, the non-Action example sets isPending to false when the first request completes, even though later requests may still be in progress and continue updating the total.

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

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.

1 participant