From 948b63af01498be9a6017b1bd8f67b952de756a5 Mon Sep 17 00:00:00 2001 From: Christian Bromann Date: Tue, 4 Feb 2025 15:58:11 -0800 Subject: [PATCH] fix(runtime): don't include loadModule logic in hydrate runtime (#6145) --- src/runtime/initialize-component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/initialize-component.ts b/src/runtime/initialize-component.ts index 2dae8d4b8aa..db155bd366e 100644 --- a/src/runtime/initialize-component.ts +++ b/src/runtime/initialize-component.ts @@ -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