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

docs(api): add useHydration composable #8768

Merged
merged 2 commits into from
Nov 10, 2022

Conversation

Krutie
Copy link
Contributor

@Krutie Krutie commented Nov 7, 2022

πŸ”— Linked issue nuxt/nuxt#13653

❓ 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

Added API documentation for useHydration composable

πŸ“ Checklist

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

@codesandbox
Copy link

codesandbox bot commented Nov 7, 2022

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

@netlify
Copy link

netlify bot commented Nov 7, 2022

βœ… Deploy Preview for nuxt3-docs ready!

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

@tylerforesthauser
Copy link

Firstly, many thanks for everything you've done and continue to do for the community, Krutie! Secondly, is it possible to add an example to this as well? This functionality has inexplicably confused me since I first came across it. πŸ˜΅β€πŸ’«

@pi0
Copy link
Member

pi0 commented Nov 10, 2022

Thanks for the PR @Krutie <3

I'm merging it as is but there is a chance we remove useHydration composable before 3.0.0 release. It was initially made to help making store implementation but modules can always write same logic.

@pi0 pi0 merged commit 0cac5c7 into nuxt:main Nov 10, 2022
@pi0 pi0 mentioned this pull request Nov 15, 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.

4 participants