Skip to content

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

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

Merged
merged 1 commit into from
May 16, 2025

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