Skip to content

Commit

Permalink
Revert "fix(runtime): don't include loadModule logic in hydrate runti…
Browse files Browse the repository at this point in the history
…me (#6145)"

This reverts commit 948b63a.
  • Loading branch information
christian-bromann authored Feb 4, 2025
1 parent 948b63a commit e46ec9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/initialize-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const initializeComponent = async (
hostRef.$flags$ |= HOST_FLAGS.hasInitializedComponent;

const bundleId = cmpMeta.$lazyBundleId$;
if (BUILD.lazyLoad && bundleId) {
if ((BUILD.lazyLoad || BUILD.hydrateClientSide) && bundleId) {
// lazy loaded components
// request the component's implementation to be
// wired up with the host element
Expand Down

0 comments on commit e46ec9a

Please sign in to comment.