Post
Of course that kind of sucks for the common case of doing a query, navigating, then pressing “back”. Ideally we want that to be fast. To address this Zero 0.17 adds background queries. You can add a ttl to a query and it will keep running and syncing in the background.
0 reposts1 like
If you make a different query the data from the background query is used client-side to answer the new query instantly if possible. This all happens completely automatically. Just by adding the ttl flag. Learn more about Zero's query-based sync: zero.rocicorp.dev/docs/reading...
zero.rocicorp.devZero DocsThe official documentation for Zero by Rocicorp.