T
TanStack2mo ago
sensitive-blue

Best approach’s to to ‘derived collection’?

Hello fellow! I have some queries that works with web sockets, so I feed cache and fulfil the promise. 1. Those queries receive ‘entities/collections’, like db tables. 2. Then I build it (similar to SQL join, etc) in a more complex nested object. Then i map it into a component. 3. Map this object direct appears to be too heavy computation. Tanstack DB has something called derived collections, but is not mature yet, so> What is the best approach to built this object and map it? Is inject it in cache as a built up object and threat this like a new query a good idea? Thank you
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?