I'm testing how Astro handles Svelte UI Frameworks such as shadcn-svelte. But when the component use Context API, shows these errors:
~$ [astro-island] Error hydrating /src/lib/components/ui/avatar/index.ts TypeError: Cannot destructure property 'elements' of 'getCtx3(...)' as it is undefined.
~$ [astro-island] Error hydrating /src/lib/components/ui/avatar/index.ts TypeError: Cannot read properties of undefined (reading 'options')
Does anyone have an idea what it could be?