From: edison Date: Fri, 8 Dec 2023 15:06:34 +0000 (+0800) Subject: fix(ssr): fix suspense hydration of fallback content (#7188) X-Git-Tag: v3.4.0-beta.1~23^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60415b5d67df55f1fd6b176615299c08640fa142;p=thirdparty%2Fvuejs%2Fcore.git fix(ssr): fix suspense hydration of fallback content (#7188) --- diff --git a/packages/runtime-core/src/components/Suspense.ts b/packages/runtime-core/src/components/Suspense.ts index 426ca0cd32..e9cc0ff2c3 100644 --- a/packages/runtime-core/src/components/Suspense.ts +++ b/packages/runtime-core/src/components/Suspense.ts @@ -464,7 +464,7 @@ function createSuspenseBoundary( timeout: typeof timeout === 'number' ? timeout : -1, activeBranch: null, pendingBranch: null, - isInFallback: true, + isInFallback: !isHydrating, isHydrating, isUnmounted: false, effects: [],