Skip to content

Commit cb7f0b9

Browse files
committed
Move hydration code out of normal Suspense path
Shuffling some code around to make it easier to follow. The logic for updating a dehydrated Suspense boundary is significantly different from the logic for a client-rendered Suspense boundary. Most of it was already lifted out into a separate function; this moves the remaining hydration-specific logic out of updateSuspenseComponent and into updateDehydratedSuspenseComponent instead. No expected changes to program behavior.
1 parent 6e2f38f commit cb7f0b9

File tree

2 files changed

+454
-546
lines changed

2 files changed

+454
-546
lines changed

0 commit comments

Comments
 (0)