github urql-graphql/urql urql@5.0.5

one hour ago

Patch Changes

  • ⚠️ Fix useQuery freezing the page in an endless render loop with React 18's createRoot, when an update switched its variables back to a cached result while it still had other results to render. useQuery no longer updates its state during render and ignores results for its previous variables. This also fixes it sometimes showing the previous variables' data after switching to cached variables, and a useSyncExternalStore in the same component missing a store change back to its previous value
    Submitted by @JoviDeCroock (See #3934)
  • Updated dependencies (See #3922)
    • @urql/core@6.0.4

Don't miss a new urql release

NewReleases is sending notifications on new releases.