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
Hi. I am using react location for routing and in react location you can define a loader for every path to load data for related page lazily. It means, it will fetch both page and data at the same time. In react query you can create an instance of QueryClient and use it to load data lazily. How to achieve same with swr. I appreciate if you show an example. Thanks.
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am using react location for routing and in react location you can define a loader for every path to load data for related page lazily. It means, it will fetch both page and data at the same time. In react query you can create an instance of
QueryClient
and use it to load data lazily. How to achieve same with swr. I appreciate if you show an example. Thanks.Beta Was this translation helpful? Give feedback.
All reactions