I can see many <!---->
in the HTML, why?
#13360
frederikhors
started this conversation in
General
Replies: 2 comments 1 reply
-
are you inspecting the dev server? the dev server injects comments indicating elements that correspond to components. these are stripped out in your production build try running the preview server instead— |
Beta Was this translation helpful? Give feedback.
1 reply
-
These are hydration marks that indicate where components and blocks start and end when it isn't obvious so that the DOM can be correctly hydrated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using Svelte 5 if I analyze my final HTML with Chrome Dev Tools I can see many
<!---->
in the HTML.I'm using
adpater-static
tonpm run build
the project and I'm serving it with a webserver.Why?
Beta Was this translation helpful? Give feedback.
All reactions