forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: HostHoistable should call suspendResource
Follow up to facebook#26450. In the complete phase of HostHoistable, it should call suspendResource instead of suspenseInstance. I refactored the code a bit to make the branching more clear. There's a test case that covers this but it's currently gated behind a TODO because of another issue, which I'll fix in the next step.
- Loading branch information
Showing
2 changed files
with
150 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters