Maintaining TanStack Query โ€ข blog at tkdodo.eu โ€ข Software Engineer @getsentry โ€ข ReactJs โ€ข TypeScript โ€ข ๐Ÿ‡ฆ๐Ÿ‡น Vienna, Austria โ€ข Father of two ๐Ÿ‘งโ€๐Ÿ‘ฆ

๐Ÿ”ฎ available now โžก๏ธ
๐Ÿ“ข 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 ๐ŸŽ‰
44
86
748
131,032
๐Ÿ“ข 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 ๐Ÿ™
12
7
189
13,253
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โ€ฆ
1
21
1,669
๐Ÿ“š 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โ€ฆ
7
15
253
11,136
๐Ÿ“ข 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...
3
1
69
7,726
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โ€ฆ
2
2
8
3,113
Dominik ๐Ÿ”ฎ retweeted
๐Ÿ“š 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โ€ฆ
11
48
670
29,272
Dominik ๐Ÿ”ฎ retweeted
Say hi to @TkDodo, maintainer of @tan_stack -query and one of the sharpest voices in frontend architecture. From async state management and tools like Knip, Dominik champions clarity, maintainability, and thoughtful engineering over hype. Excited to have him at ZurichJS Conf๐Ÿ’›.
4
17
2,312
Dominik ๐Ÿ”ฎ retweeted
One of our core TanStack Start/Router team, @ChaponFlo, is looking for his next full-time remote position. Easily top 1% talent, highly skilled in perf, dev-facing tools, TS, full-stack, etc (including TanStack, obviously ๐Ÿ˜‰) If hiring, DM him. If not, spread the word.
14
60
675
72,843
๐Ÿ“ข 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โ€ฆ
6
10
86
9,125
Join @TkDodo for a hands-on React Query workshop that goes beyond the fundamentals and helps you build the best possible user experience. Bring your laptop, sharpen your React Query skills, and leave ready to build faster, smoother, more scalable apps. reactalicante.es
3
17
2,095
Dominik ๐Ÿ”ฎ retweeted
๐Ÿ“š 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-โ€ฆ
8
32
338
19,522
Dominik ๐Ÿ”ฎ retweeted
Finally, @Tan_Stack Start now supports React Server Components! Start's RSCs are a truly fetchable, cacheable and composable primitive that work with your favorite tools instead of dictating your entire architecture. Oh, and one more thing... "Composite Components" ๐Ÿ˜‰ ๐Ÿ”—โฌ‡๏ธ๐Ÿงต
112
267
2,177
292,478
Check out my #WEsummitย badge: gitnation.com/badges/web-engโ€ฆ .ย Register via the badge and watch the stream for FREE! See you on June 11 & 15.
3
1
7
1,996
Dead code = hidden complexity. This year at @ReactNorway, @TkDodo (Software Engineer at @sentry and @tan_stack Query core maintainer) will break down how to detect, validate, and remove unused code at scale using real workflows. ๐Ÿ› ๏ธ Expect practical steps you can apply immediately... after all, he did remove 28,000 lines of dead code using Knip...safely, systematically ๐Ÿค” JOIN US on June 5th at Rockefeller โ€” the legendary heart of Oslo's music scene for Rock & React Festival > reactnorway.com/
2
2
10
1,942
๐Ÿ“š 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-โ€ฆ
6
27
337
25,435
Dominik ๐Ÿ”ฎ retweeted
We benchmarked TanStack Start, React Router, and Next.js running the exact same eCommerce app at 1,000 req/s on AWS EKS. The results were eye-opening.
102
213
2,295
445,303
Dominik ๐Ÿ”ฎ retweeted
๐Ÿ“š 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โ€ฆ
15
41
363
34,736