Skip to content
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: rewrite data fetching section #21031

Merged
merged 3 commits into from May 25, 2023

Conversation

clemcode
Copy link
Contributor

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 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)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This PR goal is to address some common issues the users are facing after reading the Data Fetching section:

  • Lack of understanding of the composables goals and differences
  • Reference to ofetch and clarify the $fetch alias
  • Composables options and patterns

I tried to not lose anything in the rewrite. Would love some feedback on the new page structure and if it makes it clearer.

@nuxt-studio
Copy link

nuxt-studio bot commented May 23, 2023

βœ… Live Preview ready!

Name Edit Preview Latest Commit
Nuxt Docs Edit on Studio β†—οΈŽ View Live Preview d949b0d

@clemcode clemcode marked this pull request as ready for review May 24, 2023 11:03
Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

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

Nice work! ❀️

docs/1.getting-started/6.data-fetching.md Outdated Show resolved Hide resolved
@danielroe danielroe merged commit 200bc02 into nuxt:main May 25, 2023
1 check passed
This was referenced May 25, 2023
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.

None yet

2 participants