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