github TanStack/db @tanstack/db@0.4.12

18 hours ago

Patch Changes

  • Add in-memory fallback for localStorage collections in SSR environments (#696)

    Prevents errors when localStorage collections are imported on the server by automatically falling back to an in-memory store. This allows isomorphic JavaScript applications to safely import localStorage collection modules without errors during module initialization.

    When localStorage is not available (e.g., in server-side rendering environments), the collection automatically uses an in-memory storage implementation. Data will not persist across page reloads or be shared across tabs when using the in-memory fallback, but the collection will function normally otherwise.

    Fixes #691

  • Add support for orderBy and limit in currentStateAsChanges function (#701)

  • Updated dependencies [8187c6d]:

    • @tanstack/db-ivm@0.1.12

Don't miss a new db release

NewReleases is sending notifications on new releases.