Best Practice for combining queries of same object type for a collection
Per the
Is it better to create 9 collections for each source and stitch those together with a live query, or make a single collection that pulls the data together as part of its Tanstack Query definition.
I'm more inclined to the latter and route the CRUD update hooks directly via one collection rather than having to have a map to find which one it came from and act on that collection.
useLiveQuery Optimization, I have multiple queries across multiple accounts (for example purposes lets say 9) that all return arrays of the same object type.Is it better to create 9 collections for each source and stitch those together with a live query, or make a single collection that pulls the data together as part of its Tanstack Query definition.
I'm more inclined to the latter and route the CRUD update hooks directly via one collection rather than having to have a map to find which one it came from and act on that collection.