Skip to content

@tanstack/react-db@0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 23:05
· 16 commits to main since this release
Immutable release. Only release title and notes can be modified.
e21195e

Minor Changes

  • Add opt-in network-first initial rendering for eagerly persisted SQLite Collections. initialRender: { strategy: 'network-first', networkTimeoutMs } lets React and Solid Suspense render restored rows after the configured deadline (three seconds by default) or a network failure while sync continues. Live-query observers and the Angular, React, Solid, Svelte, and Vue integrations expose persistedStatus, isPersistedReady, and persistedError separately from Collection readiness. (#1955)

Patch Changes

  • Render completed persisted query data when a client query stream fails during network-first initial rendering. Keep derived-query load failures on the React ErrorBoundary, with errors isolated by client and cleared when the Collection restarts. (#1960)

  • Updated dependencies [9c62ac3, d5e4732, 0122da8, f7d96f7, fb509ef, dc4b4e0, f158258, c879ba6, b5d92ce]:

    • @tanstack/db@0.11.0