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

docs: change deprecated useBody with readBody #8266

Merged
merged 1 commit into from Oct 18, 2022

Conversation

danielkellyio
Copy link
Contributor

πŸ”— Linked issue

none

❓ 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

useBody is now deprecated in favor of readBody. See this response on twitter with info from @danielroe. This PR updates the Nuxt docs to reflect that change.

πŸ“ Checklist

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

@codesandbox
Copy link

codesandbox bot commented Oct 17, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Oct 17, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 29b2f79
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/634dd4de0d901a000ab8ff9a
😎 Deploy Preview https://deploy-preview-8266--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

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

Thank you ❀️

@pi0 pi0 changed the title docs: remove deprecated useBody, replace with readBody docs: change deprecated useBody with readBody Oct 18, 2022
@pi0 pi0 merged commit b1c842e into nuxt:main Oct 18, 2022
@misaon
Copy link
Contributor

misaon commented Oct 18, 2022

@danielkellyio What about useQuery ?

@pi0 pi0 mentioned this pull request Oct 18, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants