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: add advanced usage example of useState #20249

Merged
merged 4 commits into from May 20, 2023
Merged

Conversation

lucianotonet
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 adds in the documentation the same advanced example from CodesandBox. As only the basic usage example was provided but no advanced example.
This can be helpful for those that just want to kickly see some more robustic code.
Also, more examples present on the MD files can help some AIs that read docs to know about how to use it.

πŸ“ Checklist

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

Adds an advanced usage example as it appears on the CodeSandBox.
@codesandbox
Copy link

codesandbox bot commented Apr 13, 2023

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

@nuxt-studio
Copy link

nuxt-studio bot commented Apr 13, 2023

βœ… Live Preview ready!

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

@lucianotonet lucianotonet changed the title Docs: Add advanced usage example of useState docs: Add advanced usage example of useState Apr 13, 2023
@danielroe danielroe changed the title docs: Add advanced usage example of useState docs: add advanced usage example of useState May 20, 2023
@danielroe danielroe merged commit e847e33 into nuxt:main May 20, 2023
This was referenced May 20, 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