@tanstack-query-with-orbitjs/core
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i @tanstack-query-with-orbitjs/core

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

19.4 kB

Total Files

5

Last publish

Collaborators

  • danielgiljam