Skip to content

Latest commit

 

History

History

@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:

It also exports the following types:

  • LiveQueryClientConfig
    Interface describing the config passed to the LiveQueryClient constructor. (Extends QueryClientConfig interface.)

  • QueryMeta
    Module augmented, and declaration merged more specific version of the QueryMeta interface.

  • GetQueryOrExpressions
    Type which describes the first parameter of the MemorySource#query method.