useSwrInfinite with refreshInterval and revalidateFirstPage on false #2198
Unanswered
maria-noaptes
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello! I have a problem with useSWRInfinite. I don't want to refetch the first page for every new page because it implies too big of a loading time for new data in my website.
I also have a refreshInterval of 10 seconds, but once I put revalidateFirstPage on false it doesn't update anymore in an interval.
Is there any way to have live updates but not revalidation for the first page at load more?
Beta Was this translation helpful? Give feedback.
All reactions