@tanstack-query-with-orbitjs/core v0.2.0
@tanstack-query-with-orbitjs/core
A library for using TanStack Query with Orbit.js.
This is the UI framework agnostic core, which could be seen as corresponding to @tanstack/query-core in original TanStack Query.
Usage
Install using your preferred Node.js package manager. For example:
pnpm add @tanstack-query-with-orbitjs/core@tanstack-query-with-orbitjs/core comes with three new classes that enable the integration between TanStack Query and Orbit.js:
LiveQueryClientReplacement forQueryClient. (ExtendsQueryClientclass.)LiveQueryObserverReplacement forQueryObserver. (ExtendsQueryObserverclass.)LiveInfiniteQueryObserverReplacement forInfiniteQueryObserver. (ExtendsInfiniteQueryObserverclass.)
It also exports the following types:
LiveQueryClientConfigInterface describing the config passed to theLiveQueryClientconstructor. (ExtendsQueryClientConfiginterface.)QueryMetaModule augmented, and declaration merged more specific version of theQueryMetainterface.GetQueryOrExpressionsType which describes the first parameter of theMemorySource#querymethod.