Skip to content

Commit

Permalink
fix: provide template prop on LightningElement in SSRv2 (#5212)
Browse files Browse the repository at this point in the history
  • Loading branch information
divmain authored Feb 11, 2025
1 parent f6b600f commit 7092a2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/@lwc/ssr-runtime/src/lightning-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ export class LightningElement implements PropsAvailableAtConstruction {
// noop
}

get template() {
return {
synthetic: false,
};
}

// ----------------------------------------------------------- //
// Props/methods explicitly not available in this environment //
// Getters are named "get*" for parity with @lwc/engine-server //
Expand Down

0 comments on commit 7092a2f

Please sign in to comment.