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

Add a bit more help text to client:only description #8170

Closed
JusticeMatthew opened this issue May 2, 2024 · 0 comments
Closed

Add a bit more help text to client:only description #8170

JusticeMatthew opened this issue May 2, 2024 · 0 comments
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.

Comments

@JusticeMatthew
Copy link
Contributor

JusticeMatthew commented May 2, 2024

📚 Subject area/topic

client-directives

📋 Suggested page

https://github.com/withastro/docs/blob/main/src/content/docs/en/reference/directives-reference.mdx

📋 General description or bullet points (if proposing new content)

I would like to add some additional text to the client:only directive to inform the user of why you would use it versus client:load which is more performant.

I've seen the question come up a few times in the discord and I think a single sentence along the lines of Use this directive if your components need access to browser-specific APIs or to resolve hydration mismatch errors from framework components

🖥️ Reproduction of code samples in StackBlitz

No response

@JusticeMatthew JusticeMatthew added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.
Projects
None yet
Development

No branches or pull requests

1 participant