I recently discovered SWR and I'm trying to use it for a web page that needs real time updates. I also have a load more button so I use useSWRInfinite. My problem is that every time I load a new page the first gets revalidated, which makes the request way slower. I tried to invalidate this behaviour by putting the option revalidateFirstPage on false but now the refresh on interval doesn't work anymore. Does anybody know why and how I can correct this? Thanks.
Asked
Active
Viewed 291 times