Fix grammatical error in documentation for useTransition isPending state behavior#7433
Fix grammatical error in documentation for useTransition isPending state behavior#7433anmol0530 wants to merge 1 commit intoreactjs:mainfrom
Conversation
This commit corrects a grammatical error in the description of isPending state behavior. The unclear phrase "to isPending state switches to true" has been rephrased for clarity: "To give the user feedback about in-progress Transitions, the isPending state switches to true at the first call to startTransition and remains true until all actions are complete and the final state is shown to the user." The update improves readability and ensures the documentation is clear and accurate.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Hi @anmol0530! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
|
Hey @anmol0530 @rickhanlonii, this is fixed in #7799, so it can be closed. |
|
Ah ok, thanks @rammba |
This commit corrects a grammatical error in the description of isPending state behavior. The unclear phrase "to isPending state switches to true" has been rephrased for clarity:
"To give the user feedback about in-progress Transitions, the isPending state switches to true at the first call to startTransition and remains true until all actions are complete and the final state is shown to the user."
The update improves readability and ensures the documentation is clear and accurate.