github TanStack/db @tanstack/db@0.5.33

latest releases: @tanstack/trailbase-db-collection@0.1.77, @tanstack/query-db-collection@1.0.30, @tanstack/solid-db@0.2.13...
10 hours ago

Patch Changes

  • Add createEffect API for reactive delta-driven effects and useLiveQueryEffect React hook. (#1221)

    createEffect attaches callbacks to a live query's delta stream — firing onEnter, onExit, and onUpdate for row-level query-result transitions and onBatch for the full delta batch from each graph run — without materialising the full result set. Supports skipInitial, orderBy + limit (top-K window), joins, lazy loading, transaction coalescing, async disposal with AbortSignal, and onSourceError / onError callbacks.

    useLiveQueryEffect is the React hook wrapper that manages the effect lifecycle (create on mount, dispose on unmount, recreate on dependency change).

Don't miss a new db release

NewReleases is sending notifications on new releases.