Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information