diff --git a/packages/@lwc/ssr-compiler/src/__tests__/utils/expected-failures.ts b/packages/@lwc/ssr-compiler/src/__tests__/utils/expected-failures.ts index 97b5f1d186..a253065e37 100644 --- a/packages/@lwc/ssr-compiler/src/__tests__/utils/expected-failures.ts +++ b/packages/@lwc/ssr-compiler/src/__tests__/utils/expected-failures.ts @@ -18,7 +18,6 @@ export const expectedFailures = new Set([ 'attribute-namespace/index.js', 'attribute-style/basic/index.js', 'attribute-style/dynamic/index.js', - 'dynamic-components/mixed/index.js', 'dynamic-slots/index.js', 'exports/component-as-default/index.js', 'if-conditional-slot-content/index.js', diff --git a/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/lwc-component.ts b/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/lwc-component.ts index def8da56bb..b1a5f8a5b6 100644 --- a/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/lwc-component.ts +++ b/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/lwc-component.ts @@ -37,7 +37,7 @@ const bYieldFromDynamicComponentConstructorGenerator = esTemplateWithYield` const scopeToken = hasScopedStylesheets ? stylesheetScopeToken : undefined; - yield* Ctor[SYMBOL__GENERATE_MARKUP]( + yield* Ctor[__SYMBOL__GENERATE_MARKUP]( null, childProps, childAttrs, @@ -56,7 +56,7 @@ export const LwcComponent: Transformer = function LwcComponent(n cxt.import({ getReadOnlyProxy: '__getReadOnlyProxy', LightningElement: undefined, - SYMBOL__GENERATE_MARKUP: undefined, + SYMBOL__GENERATE_MARKUP: '__SYMBOL__GENERATE_MARKUP', }); return bYieldFromDynamicComponentConstructorGenerator(