-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cascading cancellations from components (#503)
* Fix cascading cancellations from components wonka@^4.0.0 has some improved behaviour that fixed some edge cases and bugs. As it turned out urql was relying on one of them. The switchMap in the hooks would cancel the last query and start the next. However, this cancellation cascades not only up to executeQuery to end and teardown the operation, it also flows up through the exchange pipeline, ending the entire thing like an electrical surge. This can be prevented by publishing the results chain and making sure it can never be interrupted. * Fix pollInterval test * Add scheduler dependency to silence peer dependency warning
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 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
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