|
const innerHtml = mountComponentsInHtml({ |
When rendering a component, sub hydrate-components are collected and added to the current page. Ideally, they should be processed after the entire HTML page is built. With the current code:
- The page may include a hydrated component which is actually not on the page. For example, when
Layout.svelte
doesn't output templateHtml
.
mountComponentsInHtml
is applied to the same string multiple times.