You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct collection documentation links and add to sidebar (#791)
- Fixed collection links in overview.md to use ../collections/ pattern
- Added LocalStorage Collection, LocalOnly Collection, and TrailBase Collection to sidebar
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/overview.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Collections can be populated in many ways, including:
64
64
65
65
- fetching data, for example [from API endpoints using TanStack Query](https://tanstack.com/query/latest)
66
66
- syncing data, for example [using a sync engine like ElectricSQL](https://electric-sql.com/)
67
-
- storing local data, for example [using localStorage for user preferences and settings](./collections/local-storage-collection.md) or [in-memory client data or UI state](./collections/local-only-collection.md)
67
+
- storing local data, for example [using localStorage for user preferences and settings](../collections/local-storage-collection.md) or [in-memory client data or UI state](../collections/local-only-collection.md)
68
68
- from live collection queries, creating [derived collections as materialised views](#using-live-queries)
69
69
70
70
Once you have your data in collections, you can query across them using live queries in your components.
@@ -133,23 +133,23 @@ TanStack DB provides several built-in collection types for different data source
133
133
134
134
**Fetch Collections**
135
135
136
-
-**[QueryCollection](./collections/query-collection.md)**— Load data into collections using TanStack Query for REST APIs and data fetching.
136
+
-**[QueryCollection](../collections/query-collection.md)**— Load data into collections using TanStack Query for REST APIs and data fetching.
137
137
138
138
**Sync Collections**
139
139
140
-
-**[ElectricCollection](./collections/electric-collection.md)**— Sync data into collections from Postgres using ElectricSQL's real-time sync engine.
140
+
-**[ElectricCollection](../collections/electric-collection.md)**— Sync data into collections from Postgres using ElectricSQL's real-time sync engine.
141
141
142
-
-**[TrailBaseCollection](./collections/trailbase-collection.md)**— Sync data into collections using TrailBase's self-hosted backend with real-time subscriptions.
142
+
-**[TrailBaseCollection](../collections/trailbase-collection.md)**— Sync data into collections using TrailBase's self-hosted backend with real-time subscriptions.
143
143
144
-
-**[RxDBCollection](./collections/rxdb-collection.md)**— Integrate with RxDB for offline-first local persistence with powerful replication and sync capabilities.
144
+
-**[RxDBCollection](../collections/rxdb-collection.md)**— Integrate with RxDB for offline-first local persistence with powerful replication and sync capabilities.
145
145
146
-
-**[PowerSyncCollection](./collections/powersync-collection.md)**— Sync with PowerSync's SQLite-based database for offline-first persistence with real-time synchronization with PostgreSQL, MongoDB, and MySQL backends.
146
+
-**[PowerSyncCollection](../collections/powersync-collection.md)**— Sync with PowerSync's SQLite-based database for offline-first persistence with real-time synchronization with PostgreSQL, MongoDB, and MySQL backends.
147
147
148
148
**Local Collections**
149
149
150
-
-**[LocalStorageCollection](./collections/local-storage-collection.md)**— Store small amounts of local-only state that persists across sessions and syncs across browser tabs.
150
+
-**[LocalStorageCollection](../collections/local-storage-collection.md)**— Store small amounts of local-only state that persists across sessions and syncs across browser tabs.
151
151
152
-
-**[LocalOnlyCollection](./collections/local-only-collection.md)**— Manage in-memory client data or UI state that doesn't need persistence or cross-tab sync.
152
+
-**[LocalOnlyCollection](../collections/local-only-collection.md)**— Manage in-memory client data or UI state that doesn't need persistence or cross-tab sync.
0 commit comments