Skip to content

Commit 023b4ca

Browse files
author
Dominus Vilicus
authored
Add hash to registeredComponents
1 parent bb4bffe commit 023b4ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/compile/render_ssr/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ export default function ssr(
162162
${component.fully_hoisted}
163163
164164
const ${name} = @create_ssr_component(($$result, $$props, $$bindings, $$slots) => {
165+
${options.hash ? `$$result.registeredComponents.add('${options.hash}');` : ''}
165166
${blocks}
166167
});
167168
`;

0 commit comments

Comments
 (0)