react-query-questions
solid-query-questions
table-questions
virtual-questions
router-questions
react-charts-questions
ranger-questions
vue-query-questions
svelte-query-questions
bling-questions
form-questions
angular-query-questions
start-questions
db-questions
start-showcase
router-showcase
📣-announcements
Creating multiple collections from a single query?
Is it possible to keep SSR on in TanStack Start when using TanStack DB?
Hitting issues updating an item in collection
Best practices on keeping multiple electric connections active

Collection errors are not trackable without calling useLiveQuery
collection.utils.errorCount() in a component that won't use a live query hook, the collections error utils won't trigger a rerender.
It's a bummer because I'd like to be able to check if a collection has errored in a child component, and I don't want to subscribe to a live query in the parent as it adds 10-15ms to the render duration of the parent component.
This tiny delay makes the children optimistic updates feel much less snappy...Is a single item collection a valid pattern?
Zombie Effect
are collections meant to be singletons?
unique index does not throw DuplicateKeyError
onInsert vs createOptimisticAction
onInsert callback on my collection and just insert new elements vs when I need to use createOptimisticAction.
Right now I have both defined and it's just duplicated code and I feel like I'm doing something wrong.
I do want optimistic updates, but I don't understand why there is a createOptimisticAction when the onInsert seems to do the same thing?...how do I work with very large collections
Multiple Joins "Invalid join condition"
Shape Options - Parser: timestamptz
subquery doesn't work in join
Tanstack DB - Live Queries return zero results sometimes
[Query collection] how to insert with defaults
Data not updating when you using localStorageCollectionOptions with a custom storage (AsyncStorage)
setItem anyway to debug this ?
Collection
```export const sessionCollection = createCollection(
localStorageCollectionOptions({...Not getting db updates live?
useShape hook I get my reactive updates as I need, however I have been trying to get this working with TanstackDB but while the initial sync does work but I get no live updates.
I am happy to tempoarily provide access to a branch for debugging. I am querying across collections:
```ts...How to get update server id after onInsert?

Incremental update example question
createTodo, which:
1. Calls todosCollection.insert.
2. The onInsert funtion returns { refetch: false }, which means the optimistic update is immediately rolled back and the UI will not show the new state.
3. api.createTodo is called and the todo is created on the server
4. writeDelete is called and errors out since the item with id: tempId was never added to the store....