Skip to content

Commit

Permalink
Move hydration code out of normal Suspense path
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
acdlite committed May 19, 2022
1 parent 6e2f38f commit cb7f0b9
Show file tree
Hide file tree
Showing 2 changed files with 454 additions and 546 deletions.

0 comments on commit cb7f0b9

Please sign in to comment.