Skip to content

@tanstack/react-db@0.5.9

Choose a tag to compare

@github-actions github-actions released this 14 Oct 03:13
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
93a4727

Patch Changes

  • Allow a Query built with Collection descriptors outside a DbClient to bind its sources when a client consumes it. Building or extending a query keeps descriptors unbound until that consumption. A reusable factory descriptor can now serve the same prebuilt query in separate client scopes, including React providers and server preloads. A prepared query is a bound snapshot; reuse the original unbound query across clients. The exported IR now represents an unbound descriptor with DescriptorRef; visitors of IR.From must handle the descriptorRef variant. (#2077)

    React hooks bind standalone descriptor queries through their DbProvider client and report a provider hint when no client is available. Svelte hooks bind through their client and release deferred sources after failed query setup.

  • Updated dependencies [cda9d6a, 2f928e6, dfec42e, 1a65c2c, 1b4ee8d, bbbf017, bc6f30e, fade2e2, bbe9327, b34a579, 6fa60aa, f84387c, be4a3d6, 0dc696a, fd13e3c]:

    • @tanstack/db@0.14.0