Twitxy Saved

Dominik ๐Ÿ”ฎ

@TkDodo

Maintaining TanStack Query โ€ข blog at tkdodo.eu โ€ข Software Engineer @getsentry โ€ข ReactJs โ€ข TypeScript โ€ข ๐Ÿ‡ฆ๐Ÿ‡น Vienna, Austria โ€ข Father of two ๐Ÿ‘งโ€๐Ÿ‘ฆ
๐Ÿ”ฎ available now โžก๏ธ query.gg Joined June 2009
409 Following 61K Followers 21K Posts

Latest posts 5

Dominik ๐Ÿ”ฎ @TkDodo
๐Ÿ“ข 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 replies 7 reposts 192 likes 14K views View on X
Dominik ๐Ÿ”ฎ @TkDodo
๐Ÿ“š 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-โ€ฆ
tkdodo.eu Reliable Query Prefetching with TanStack Router Prefetching in route loaders is great, but comes at a cost. We have to keep loaders in-sync with components...
7 replies 15 reposts 251 likes 11K views View on X
Dominik ๐Ÿ”ฎ @TkDodo
๐Ÿ“ข 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...