Repository navigation
Show & Tell: WikiMasters — Dynamic Card State Caching & Optimistic Updates with TanStack Query #12422
Unanswered
TheoBlake
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey TanStack Query friends! 🚀
We recently released WikiMasters (wikimasters.org), a web-based Wikipedia card strategy game. We rely heavily on TanStack Query (v5) to manage dynamic encyclopedic state, card collection queries, and optimistic deck updates.
How We Leverage TanStack Query
staleTimerules to reduce repetitive Wikimedia API roundtrips.useInfiniteQuerywith paginated edge cursors.Check it out:
🔗 Live Game: https://wikimasters.org
📦 GitHub: https://github.com/tik568/wikimasters-game
Huge thanks to Tanner and the TanStack team for making complex asynchronous client-side state trivial to manage!
All reactions