Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

docs(data-fetching): add note about difference between useFetch and useAsyncData - #4974

Merged
pi0 merged 2 commits into
mainfrom
docs/data-fetching-diff
May 20, 2022
Merged

docs(data-fetching): add note about difference between useFetch and useAsyncData#4974
pi0 merged 2 commits into
mainfrom
docs/data-fetching-diff

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

https://github.com/nuxt/framework/discussions/3414

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This adds a brief note to answer what the difference is b/t useFetch and useAsyncData, and switches the order of them in the docs.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroedanielroe added the documentation Improvements or additions to documentation label May 13, 2022
@danielroe
danielroe requested a review from pi0May 13, 2022 13:25
@danielroedanielroe self-assigned this May 13, 2022
@netlify

netlifyBot commented May 13, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit4533962
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/627e5c63db52940008e583c4
😎 Deploy Previewhttps://deploy-preview-4974--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

pi0
pi0 approved these changes May 20, 2022

@pi0pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Really nice improvements 👍🏼 We might extend it a bit in the future, mentioning more additional features of useFetch...

@pi0pi0 changed the title docs: add note about difference between useFetch and useAsyncDatadocs(data-fetching): add note about difference between useFetch and useAsyncDataMay 20, 2022
@pi0
pi0 merged commit 36ad29a into mainMay 20, 2022
@pi0
pi0 deleted the docs/data-fetching-diff branch May 20, 2022 08:59
@pi0pi0 mentioned this pull request Jun 10, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xdocumentationImprovements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@danielroe@pi0