
Maintaining TanStack Query • blog at https://www.teapawt.net/t.co/tqjsQfMvyp • Software Engineer @getsentry • ReactJs • TypeScript • 🇦🇹 Vienna, Austria • Father of two 👧👦
🔮 available now ➡️
Joined June 2009
- Tweets21.3K
- Following409
- Followers61K
- Likes68.8K
Pinned Tweet
📢 I'm so stoked to announce that today, 🔮 query.gg - the brand new, official @tan_stack React Query course - is live and available for everyone 🎉
📢 Please don’t get excited, but we’ve started working on TanStack Query v6. We’ll break things, but not too many.
github.com/TanStack/query/di…
✂️ slides and transcript for my talk "Dead Code Shouldn't Exist" are now available on my blog:
tkdodo.eu/blog/dead-code-sho…
📢 We have mostly moved the TanStack Query API reference docs to being auto-generated from JsDoc comments.
This might mean some of the pages will temporarily have less information than before.
If you see something that doesn't look right, please reach out and/or file a PR 🙏
It was a constant chore to keep the docs up-to-date with code. Also people have often complained about our JsDocs not being comprehensive enough. So we made this switch to fill the gaps. Huge shoutout to Wonsuk Choi, who has been leading this initiative 🙏
tanstack.com/query/latest/do…
📚 It's been way too long since my last blogpost. Today, I'm continuing my @tan_stack router series with a pattern that I've been teaching in my workshops for over a year:
How to keep prefetches in sync between route loaders and components:
tkdodo.eu/blog/reliable-quer…
📢 I've decided to remove the experimental_prefetchInRender flag and the associated promise returned from useQuery. There are too many "gotchas" with this approach. This currently puts use(promise) off the table, sorry. We'll have to think some more how to make this possible...
Guido Started a great 7-part blog series, explaining ATproto to people outside the ecosystem.
Give it a read if you're interested in ATproto or why I think it's the future (not just for social media).
Part 1: Who actually owns your network?
gui.do/post/atproto-series-0…
📚 Surprisingly, I haven't written about how my two favourite TanStack libraries - Router and Query - work together.
🔁 loaders start fetches early
🔮 query owns the cache
🌀 suspense integrates naturally
🏝️ TanStack Start makes SSR & streaming easy
tkdodo.eu/blog/tan-stack-rou…
📢 Happy to announce that @tan_stack Query now has a lit adapter
🙏 The adapter is v0.1 - your feedback will help us getting the APIs to stable
🙌 Shoutout to Gaurav Chugh for contributing it
tanstack.com/query/latest/do…
📚 Colocation matters. Cognitive load matters. Boundaries matter. High cohesion matters. Yes, even in the age of AI (maybe even more so). Enter the vertical codebase:
tkdodo.eu/blog/the-vertical-…
📚 Continuing my series about design-systems, today I wrote about why I believe data-testid is a bad practice and and how role-based selectors actually help ensure your app is accessible.
tkdodo.eu/blog/test-ids-are-…
📚 Creating thin abstractions is easy, until you’re trying to build them on top of functions that heavily rely on generics.
I wrote about the tradeoffs of wrapping useQuery and why type inference makes this trickier than it looks.
tkdodo.eu/blog/creating-quer…
📚 New Year, New Blogpost 🎉
Continuing my thoughts about design-systems, this one is about compound components, when they are a good fit and how to make them type-safe. Spoiler: It’s not about the `children` prop ...
tkdodo.eu/blog/building-type…
📚 As the year comes to an end, I traditionally look back on it with a blogpost. I’m really grateful for everything that made 2025 such an amazing year, and I hope yours was just as fulfilling.
Happy New Year 🎉
tkdodo.eu/blog/2025-in-revie…
📚 Turns out I have way more opinions on design systems than I thought. So, as usual, I’m turning it into a series. Kicking it off with a pretty unstructured list of principles I want to write more about:
tkdodo.eu/blog/designing-des…
📚 Have you ever seen a TypeScript type say:
T extends any ? ... : never
and wondered: why would you do that - that doesn’t do anything! Or does it?
It does! I’m explaining it based on the `DistributiveOmit` type in my newest article:
tkdodo.eu/blog/omit-for-disc…
📚 I haven’t written much at all about the “front of the front-end” on my blog, but since I’m now working on the design engineering team @Sentry and also maintained the design-system at adverity for some time, I have opinions there as well 😬:
tkdodo.eu/blog/tooltip-compo…
📚 Continued writing about @tan_stack Router this weekend, trying to explain one of the imo best features the router has to offer: Context Inheritance that works in a fully inferred type-safe way across nested routes 🔥
tkdodo.eu/blog/context-inher…
Excited to run my React Query - Beyond the Basics workshop at @ReactAdvanced , Nov 27 in London! 🎉
If you know the fundamentals & want to level up with prefetching, cache seeding, persistence & smooth UX, this one’s for you 🚀. Hope to see you there:
reactadvanced.com/#workshop-…
15
3,040