TanStackT
TanStack2mo ago
3 replies
broad-emerald

TanStack DB or persistQueryClient for PWA

Hey, I am about to start work on a PWA and want to have data persist on the app. Previously I may have looked at using persistQueryClient with TanStackQuery for this, But I am wondering if TanStackDB, may be the better tool for the job here.

The source of the data is a third party API, so cache expiry is a challenge. Data for the user may update sometimes/never.

Opinions on the best tool for the job?
Was this page helpful?