diff --git a/packages/@lwc/ssr-compiler/src/compile-js/decorators/wire.ts b/packages/@lwc/ssr-compiler/src/compile-js/decorators/wire.ts index e65c39e715..55e046b736 100644 --- a/packages/@lwc/ssr-compiler/src/compile-js/decorators/wire.ts +++ b/packages/@lwc/ssr-compiler/src/compile-js/decorators/wire.ts @@ -171,7 +171,6 @@ export function catalogWireAdapters( } }); } else { - // FIXME: for `@wire(Adapter), does engine-server use `undefined` or `{}` for config? reactiveConfig = b.objectExpression([]); // empty object } diff --git a/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/slotted-content.ts b/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/slotted-content.ts index c74437b903..50f2c890de 100644 --- a/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/slotted-content.ts +++ b/packages/@lwc/ssr-compiler/src/compile-template/transformers/component/slotted-content.ts @@ -79,8 +79,7 @@ const bAddSlottedContent = esTemplate` addSlottedContent(${/* slot name */ is.expression} ?? "", async function* __lwcGenerateSlottedContent(contextfulParent, ${ /* scoped slot data variable */ isNullableOf(is.identifier) }, slotAttributeValue) { - // FIXME: make validation work again - ${/* slot content */ false} + ${/* slot content */ is.statement} }, ${/* content map */ is.identifier}); `; diff --git a/packages/@lwc/ssr-compiler/src/compile-template/transformers/slot.ts b/packages/@lwc/ssr-compiler/src/compile-template/transformers/slot.ts index 952619235d..60aa64a91c 100644 --- a/packages/@lwc/ssr-compiler/src/compile-template/transformers/slot.ts +++ b/packages/@lwc/ssr-compiler/src/compile-template/transformers/slot.ts @@ -66,8 +66,6 @@ const bConditionalSlot = esTemplateWithYield` // If we're in this else block, then the generator _must_ have yielded // something. It's impossible for a slottedContent["foo"] to exist // without the generator yielding at least a text node / element. - // FIXME: how does this work with comments and lwc:preserve-comments? - // TODO: default/fallback slot content ${/* slot fallback content */ is.statement} }