The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
package.json
for npm discoverability, by @coderkevin (See #1469)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
mutation
to accept a more partial GraphQLRequest
object without a key
or variables
, by @JoviDeCroock (See #1473)Published by github-actions[bot] over 3 years ago
urqlState
is hydrated onto the client when a user opts out of ssr
and uses the getServerSideProps
or getStaticProps
on a page-level and withUrqlClient
is wrapped on an _app
level.Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
useSubscription
would endlessly loop when the callback wasn't memoized, by @JoviDeCroock (See #1384)useQuery
calls would result in cross-component updates, by @JoviDeCroock (See #1383)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
pollInterval
option from useQuery
. Please consider adding an interval manually calling executeQuery()
, by @kitten (See #1374)operationName
property from Operation
s. The new Operation.kind
property is now preferred. If you're creating new operations you may also use the makeOperation
utility instead.@urql/core
please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using npx yarn-deduplicate
(for Yarn) or npm dedupe
(for npm), by @kitten (See #1357)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
pollInterval
option from useQuery
. Instead please consider using useEffect
calling executeQuery
on an interval, by @kitten (See #1374)useQuery
to apply a consistent Suspense cache (torn down queries will still eliminate stale values) and support all Concurrent Mode edge cases. This work is based on useMutableSource
's mechanisms and allows React to properly fork lanes since no implicit state exists outside of useState
in the implementation. The useSubscription
hook has been updated similarly without a cache or retrieving values on mount, by @kitten (See #1335)operationName
property from Operation
s. The new Operation.kind
property is now preferred. If you're creating new operations you may also use the makeOperation
utility instead.@urql/core
please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using npx yarn-deduplicate
(for Yarn) or npm dedupe
(for npm), by @kitten (See #1357)Published by github-actions[bot] over 3 years ago
operationName
property from Operation
s. The new Operation.kind
property is now preferred. If you're creating new operations you may also use the makeOperation
utility instead.@urql/core
please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using npx yarn-deduplicate
(for Yarn) or npm dedupe
(for npm), by @kitten (See #1357)Published by github-actions[bot] over 3 years ago
GraphQLError
(via a CombinedError
) it checks whether the GraphQLError
's path
matches up with null
values in the data
. Any null
values that the write operation now sees in the data will be replaced with a "cache miss" value (i.e. undefined
) when it has an associated error. This means that errored fields from your GraphQL API will be marked as uncached and won't be cached. Instead the client will now attempt a refetch of the data so that errors aren't preventing future refetches or with schema awareness it will attempt a refetch automatically. Additionally, the updates
functions will now be able to check whether the current field has any errors associated with it with info.error
, by @kitten (See #1356)schema
option to be passed with a partial introspection result that only contains queryType
, mutationType
, and subscriptionType
with their respective names. This allows you to pass { __schema: { queryType: { name: 'Query' } } }
and the likes to Graphcache's cacheExchange
to alter the default root names without enabling full schema awareness, by @kitten (See #1379)Published by github-actions[bot] over 3 years ago
pollInterval
option from useQuery
. Instead please consider using useEffect
calling executeQuery
on an interval, by @kitten (See #1374)operationName
property from Operation
s. The new Operation.kind
property is now preferred. If you're creating new operations you may also use the makeOperation
utility instead.@urql/core
please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using npx yarn-deduplicate
(for Yarn) or npm dedupe
(for npm), by @kitten (See #1357)Published by github-actions[bot] over 3 years ago
pollInterval
feature from OperationContext
. Instead consider using a source that uses Wonka.interval
and Wonka.switchMap
over client.query()
's source, by @kitten (See #1374)operationName
property from Operation
s. The new Operation.kind
property is now preferred. If you're creating new operations you may also use the makeOperation
utility instead.@urql/core
please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using npx yarn-deduplicate
(for Yarn) or npm dedupe
(for npm), by @kitten (See #1357)Published by github-actions[bot] over 3 years ago
enforcePersistedQueries
option to persistedFetchExchange
, which disables automatic persisted queries and retry logic, and instead assumes that persisted queries will be handled like normal GraphQL requests, by @kitten (See #1358)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago