Skip to content

Commit

Permalink
Add changeset with clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jan 31, 2022
1 parent b54b7d1 commit 5667bff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-pugs-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'urql': patch
---

Update `useQuery` implementation to avoid an aborted render on initial mount. We abort a render-on-update once when the state needs to be updated according to the `OperationResult` source we need to listen to and execute. However, we can avoid this on the initial mount as we've done in a prior version. This fix **does not** change any of the current behaviour, but simply avoids the confusing state transition on mount.

0 comments on commit 5667bff

Please sign in to comment.