Tulip Logo IconTulip
Router

TanStack Query

Use Tulip's query client helpers for ORPC-driven client state.

Tulip exposes query client helpers from @tulip-systems/query/tanstack-query.

Use them when app code needs the same query serialization, hydration, and mutation invalidation behavior as the app shell.

Entry point

import { createQueryClient, getQueryClient } from "@tulip-systems/query/tanstack-query";

When to use which

  • createQueryClient() when bootstrapping top-level providers
  • getQueryClient() inside shared modules or collection definitions

Continue reading

On this page