Skip to content

Comments

docs: fix misplaced prepositional phrase error in useTransition doc content#7799

Merged
rickhanlonii merged 1 commit intoreactjs:mainfrom
mehmetmalli:main
May 16, 2025
Merged

docs: fix misplaced prepositional phrase error in useTransition doc content#7799
rickhanlonii merged 1 commit intoreactjs:mainfrom
mehmetmalli:main

Conversation

@mehmetmalli
Copy link
Contributor

I noticed a very small grammatical error while reading the useTransition hook docs and wanted to correct it.

Text from the docs:

To give the user feedback about in-progress Transitions, to `isPending` state switches to `true` at the first call to `startTransition`, and stays `true` until all Actions complete and the final state is shown to the user.

to isPending state part in this sentence is not grammatically correct, I think the original author meant the isPending state so I made the change.

Copy link
Member

@rickhanlonii rickhanlonii left a comment

Choose a reason for hiding this comment

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

oops thanks

@rickhanlonii rickhanlonii merged commit a73055f into reactjs:main May 16, 2025
8 checks passed
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.

3 participants