-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Labels
needs triageIssue needs to be triagedIssue needs to be triagedpkg: svelteRelated to Svelte (scope)Related to Svelte (scope)
Description
Astro Info
Astro v4.12.2
Node v18.20.3
System Linux (x64)
Package Manager unknown
Output static
Adapter none
Integrations @astrojs/svelte
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
After the Astro + Svelte 5 snippet issue was fixed recently (#11149), I tried using mode-watcher in an astro project. I am getting this hydration error, TypeError: Cannot read properties of null (reading 'nodeType')
. It seems to be related to the use of <svelte:head>
.
MRE using svelte component with just <svelte:head>
Some discussion here, sveltejs/svelte#12409 (comment).
Is this a bug(svelte or astro?) or just a limitation when using svelte5 with astro ?
What's the expected result?
No hydration errors
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
needs triageIssue needs to be triagedIssue needs to be triagedpkg: svelteRelated to Svelte (scope)Related to Svelte (scope)