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 how to use a fallback slot with client:only #8805

Open
sarah11918 opened this issue Jul 15, 2024 · 0 comments
Open

Add how to use a fallback slot with client:only #8805

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

Comments

@sarah11918
Copy link
Member

📚 Subject area/topic

UI framework islands

📋 Suggested page

https://docs.astro.build/en/reference/directives-reference/#clientonly
https://docs.astro.build/en/guides/framework-components/

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

Show how to create fallback content to show while a client:only island is loading:

<A client:only="vue">
  <div slot="fallback">Loading</div>
</A>

Possibly a new H2 on the main UI frameworks page?

## Display loading content

Or something like that?

🖥️ Reproduction of code samples in StackBlitz

No response

@sarah11918 sarah11918 added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label Jul 15, 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