Closed zenios closed 1 year ago
When a cache-first query fails and we are using suspense the query is executed twice.
I am not sure if this is actually a bug or the same behaviour as network-only since error queries are not cached so please close it if not.
https://codesandbox.io/p/sandbox/crazy-roman-86cdyn
urql v4.0.5
This is expected, yes. Since errors aren't cached, once the component remounts the request is executed again on mount
Describe the bug
When a cache-first query fails and we are using suspense the query is executed twice.
I am not sure if this is actually a bug or the same behaviour as network-only since error queries are not cached so please close it if not.
Reproduction
https://codesandbox.io/p/sandbox/crazy-roman-86cdyn
Urql version
urql v4.0.5
Validations