Replies: 2 comments
-
It seems like there is already fix for this, but not merged yet |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @konstaner, we have a new API here: vercel/swr#435 and it's released as a beta version Could you please check if it works for you? |
Beta Was this translation helpful? Give feedback.
0 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.
-
I implement list of items with pagination using useSWR and useSWRPages. Also I need to refetch list when prop changes.
Here is example: https://codesandbox.io/s/sad-sara-mu5lx?file=/src/App.js
If one or two items loaded and I click on filter buttons result is correct, because count of values is equal. But if I load more items, than it is in filtered list and then click on filter buttons the result is duplicating
Any ideas how to fix this or may be I should do it in another way?
Beta Was this translation helpful? Give feedback.
All reactions