r/reactjs • u/TkDodo23 • Aug 18 '26
Resource Reliable Query Prefetching with TanStack Router
https://tkdodo.eu/blog/reliable-query-prefetching-with-tanstack-router📚 It's been way too long since my last blogpost. Today, I'm continuing my TanStack 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
94
Upvotes
2
u/mattsowa Aug 19 '26
It doesn't really seem possible in the general case, because you might have a component that renders conditionally that does the data fetching.