Skip to content

Commit

Permalink
fix(runtime): don't include loadModule logic in hydrate runtime (#6145)
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann authored Feb 4, 2025
1 parent 464c1a4 commit 948b63a
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 || BUILD.hydrateClientSide) && bundleId) {
if (BUILD.lazyLoad && bundleId) {
// lazy loaded components
// request the component's implementation to be
// wired up with the host element
Expand Down

0 comments on commit 948b63a

Please sign in to comment.