This has been an incredibly fun project to work on! And hats off to @samwillis.uk and Kevin De Porre who have done some real wizardry here.
Queries can now be compiled into almost any sort of data loading scheme you can imagine w/ tons of built-in optimizations.
๐ TanStack DB 0.5 is here with Query-Driven Sync
Your component's query IS the API call. No custom endpoints. No GraphQL resolvers. Just write your query and DB figures out exactly what to fetch.
Details ๐งต๐