Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mark fetching: false on operationStore init (#2048)

authored by

Jovi De Croock and committed by
GitHub
c4d95f07 922d4a11

+7 -1
+6
.changeset/slow-pets-beg.md
··· 1 + --- 2 + '@urql/svelte': patch 3 + --- 4 + 5 + Fix initialize `operationStore` with `fetching: false`, the invocation of `query` or any other operation will mark it as `true` 6 + when deemed appropriate
+1 -1
packages/svelte-urql/src/operationStore.ts
··· 48 48 49 49 const state = { 50 50 stale: false, 51 - fetching: true, 51 + fetching: false, 52 52 data: undefined, 53 53 error: undefined, 54 54 extensions: undefined,