You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zenshindm
changed the title
Client:only Svelte 4 or 5 component does not have fallback slot
Client:only Svelte 4 or 5 component does not remove fallback slot after it loaded
Nov 24, 2024
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome
Describe the Bug
https://docs.astro.build/en/reference/directives-reference/#clientonly
according to the docs, you can do fallback slot with client only svelte component
but the after the component loaded , the fallback "loading" still there
i have test on svelte 4 and 5 , it does not work
but it work on react
see the codesandbox for example
What's the expected result?
i expected the fallback gone after Client Component loaded
Link to Minimal Reproducible Example
https://codesandbox.io/p/devbox/5ts6ky?file=%2Fsrc%2Fcomponents%2FButton.jsx%3A4%2C5
Participation
The text was updated successfully, but these errors were encountered: