Skip to content
Compare
Choose a tag to compare
@urql-ci urql-ci released this 22 Jul 15:22
· 503 commits to main since this release
cf43912

We urgently recommend all users of the React bindings to upgrade to this patch!

Please don't forget to deduplicate your installed version of @urql/core after you upgrade.

Patch Changes

  • ⚠️ Fix missing React updates after an incoming response that schedules a mount. We now prevent dispatched operations from continuing to flush synchronously when the original source that runs the queue has terminated. This is important for the React bindings, because an update (e.g. setState) may recursively schedule a mount, which then disabled other setState updates from being processed. Previously we assumed that React used a trampoline scheduler for updates, however it appears that setState can recursively start more React work, by @kitten (See #2556)
  • Updated dependencies (See #2556)