-
Notifications
You must be signed in to change notification settings - Fork 47.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't pass prevThenableState through the recursion stack
Instead, pick it up from the task. The idea is that any retry with thenable state, must recall a component that used the use() Hook. During that recall, it'll always be consumed and reset to null. So anything that sets up new thenable state must also consume it.
- Loading branch information
1 parent
c289c7e
commit 4a2e55c
Showing
2 changed files
with
48 additions
and
155 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
Oops, something went wrong.