fix(ssr): fix suspense hydration of fallback content (#7188)

This commit is contained in:
edison 2023-12-08 23:06:34 +08:00 committed by GitHub
parent 213eba479c
commit 60415b5d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ function createSuspenseBoundary(
timeout: typeof timeout === 'number' ? timeout : -1,
activeBranch: null,
pendingBranch: null,
isInFallback: true,
isInFallback: !isHydrating,
isHydrating,
isUnmounted: false,
effects: [],