-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
docs(useAsyncData): add missing pending field documentation #33594
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
docs(useAsyncData): add missing pending field documentation #33594
Conversation
Add documentation for the field that is returned by useAsyncData. This field is part of the AsyncData interface but was not documented. - Add pending to usage example - Add pending to Return Values section Fixes nuxt#32956
|
|
WalkthroughThe documentation for the Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🪛 LanguageTooldocs/3.api/2.composables/use-async-data.md[uncategorized] ~153-~153: Loose punctuation mark. (UNLIKELY_OPENING_PUNCTUATION) 🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
we should probably resolve via #33221, but thank you for taking the time to open this PR ❤️ |
|
(I've merged that one in with you listed as a co-author.) |
Description
This PR adds documentation for the
pendingfield returned byuseAsyncData, which was previously undocumented.Changes
pendingto the usage examplependingto the Return Values sectionContext
The
pendingfield is part of theAsyncDatainterface (defined inpackages/nuxt/src/app/composables/asyncData.ts) but was not documented in the API reference.Fixes #32956