hashH
Convex Community4mo ago
13 replies
hash

Invalidating useQuery cache on refetch

Hey, I'm working on a language learning app, it pulls 10 questions from my convex DB for each quiz game. However I noticed the questions are cached, so restarting the game just reshuffles the 10 or so questions it pulls at the start, and creating a new game doesn't actually pull a new set of questions which is how it's configured to behave. Anyone know how to invalidate cached queries? I couldn't find my answer in the docs
Was this page helpful?