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
To as to why two useSWRInfinite hooks with "same" key - to react-query behaviour of fetching previous page. eg. first page I'll fetch will be fifth one and then I want to either go back of forward.
The text was updated successfully, but these errors were encountered:
Did you manage to get it working @PSoltes ? I'm facing the same issue but the key workaround is a bit overkill for my use case because i'll trigger a lot of already cached requests.
Bug report
Description / Observed Behavior
Environment
Behaviour
useSWRInfinite
hooks are used in one page (page.tsx)Expected Behavior
Each instance of hook respects its initial configuration
Repro Steps / Code Example
Additional Context
"swr": "2.3.0"
To as to why two useSWRInfinite hooks with "same" key - to react-query behaviour of fetching previous page. eg. first page I'll fetch will be fifth one and then I want to either go back of forward.
The text was updated successfully, but these errors were encountered: