You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey!
I've followed this approach : https://tanstack.com/query/v5/docs/framework/react/guides/advanced-ssr
But I'm not sure how to do If I need to make a query inside
generateMetadata
Here is how I do:
getOrders
does afetch
:Is it a good approach?
And how's caching handled since I use both react-query and next/fetch?
Thanks for helping me here!
Beta Was this translation helpful? Give feedback.
All reactions