Replies: 1 comment 4 replies
-
when you use swr like However, this kind of usage is not well documented and probably will be deprecated in the future. FYI #738 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I was fetch data in other component
Now I am trying get data but don't need to fetch again
const { data } = useSWR("searchResult", null,{revalidateOnFocus:false,revalidateOnMount:false,revalidateOnReconnect:false,shouldRetryOnError:false});
But swr still fetch("searchResult")
Is there a good way to stop it ?
Beta Was this translation helpful? Give feedback.
All reactions