SwrClient
An all-in-one SwrClient integrating MutationClient and QueryClient for library users.
Swr stands for "stall-while-revalidate".
Inheritors
Properties
Provides a unified feedback mechanism for all Query/Mutation errors that occur within the client.
Note: This property is exposed for limited use cases where you may need to call MutationKey.mutate manually. It can be useful as an escape hatch or for synchronous invocations within the data layer.
Note: This property is exposed for limited use cases where you may need to call QueryKey.fetch and InfiniteQueryKey.fetch manually. It can be useful as an escape hatch or for synchronous invocations within the data layer.
Functions
Releases data in memory based on the specified level.
Gets the InfiniteQueryRef by the specified InfiniteQueryKey.
Gets the MutationRef by the specified MutationKey.
Executes side effects for queries.
Prefetches the infinite query by the specified InfiniteQueryKey.