Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Data & State — TanStack libraries
[go: Go Back, main page]

Data & State Management

The right state layer for every kind of data.

Query gives server state a cache and lifecycle, DB turns synced API data into live collections, Store keeps local state tiny and reactive, and AI makes provider work feel typed instead of vendor-shaped.

Cache

Query

freshness, retries, invalidation

Collect

DB

live queries, optimistic writes

Signal

Store

selectors, derived state, adapters

Model

AI

providers, tools, AG-UI streams