Skip to content

Commit

Permalink
(core) - Add changeset for #1515
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Apr 28, 2021
1 parent e8ae745 commit f25c1fc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .changeset/quiet-tips-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@urql/core': minor
---

Add consistent "single-source behavior" which makes the `Client` more forgiving when duplicate
sources are used, which previously made it difficult to use the same operation across an app
together with `cache-and-network`; This was a rare use-case, and it isn't recommended to overfetch
data across an app, however, the new `Client` implementation of shared sources ensures that when an
operation is active that the `Client` distributes the last known result for the active operation to
any new usages of it (which is called “replaying stale results”)

See: [#1515](https://github.com/FormidableLabs/urql/pull/1515)

0 comments on commit f25c1fc

Please sign in to comment.