Skip to content

Commit a3f5485

Browse files
baiwusanyu-cyyx990803
authored andcommitted
fix(suspense): handle nested sync suspense for hydration
ref e147512
1 parent 483a4e7 commit a3f5485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/runtime-core/src/components/Suspense.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ function hydrateSuspense(
755755
optimized
756756
)
757757
if (suspense.deps === 0) {
758-
suspense.resolve()
758+
suspense.resolve(false, true)
759759
}
760760
return result
761761
/* eslint-enable no-restricted-globals */

0 commit comments

Comments
 (0)