combining react query and defer
I have a page that displays
Is this the correct way to combine
The full sandbox is here:
https://stackblitz.com/edit/tanstack-router-ezbw75?file=src%2Froutes%2Findex.tsx
It appears to work however I noticed that
articles and tags however I don't want to wait for the tags to load before displaying the articles.Is this the correct way to combine
react query , ensureQueryData and defer to achieve this result?The full sandbox is here:
https://stackblitz.com/edit/tanstack-router-ezbw75?file=src%2Froutes%2Findex.tsx
It appears to work however I noticed that
react-query doesn't appear to track the tags query and it is marked as inactiveStackBlitzMichael Wolfenden
Run official live example code for Router Basic React Query File Based, created by Tanstack on StackBlitz