Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

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

Merged
merged 2 commits into from
May 20, 2022

Conversation

danielroe
Copy link
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.

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

netlify bot commented May 13, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 4533962
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/627e5c63db52940008e583c4
😎 Deploy Preview https://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.

Copy link
Member

@pi0 pi0 left a comment

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...

@pi0 pi0 changed the title docs: add note about difference between useFetch and useAsyncData docs(data-fetching): add note about difference between useFetch and useAsyncData May 20, 2022
@pi0 pi0 merged commit 36ad29a into main May 20, 2022
@pi0 pi0 deleted the docs/data-fetching-diff branch May 20, 2022 08:59
@pi0 pi0 mentioned this pull request Jun 10, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants