We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf1e72f commit 0a68356Copy full SHA for 0a68356
packages/svelte/src/internal/client/dom/hydration.js
@@ -26,7 +26,9 @@ export function set_hydrate_nodes(nodes) {
26
}
27
28
/**
29
- * Returns all nodes between the first `<![>...<!]>` comment tag pair encountered.
+ * This function is only called when `hydrating` is true. If passed a `<![>` opening
30
+ * hydration marker, it finds the corresponding closing marker and sets `hydrate_nodes`
31
+ * to everything between the markers, before returning the closing marker.
32
* @param {Node} node
33
* @returns {Node}
34
*/
0 commit comments