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
useSWRInfinite hides errors within getKey (at least on the first page load). The error in getKey seems to cause the fetcher not to run. Because the error is hidden, it's difficult to debug.
This isn't about conditional fetching; it's about hiding an error. I don't want to raise an error in the getKey function; this was a minimal example for reproduction. When there is an error in the getKey function, it's hidden which makes it difficult to debug. I'd like to either raise that error or log it.
Bug report
Description / Observed Behavior
useSWRInfinite hides errors within getKey (at least on the first page load). The error in getKey seems to cause the fetcher not to run. Because the error is hidden, it's difficult to debug.
Expected Behavior
I expect it to raise or display the error
Repro Steps / Code Example
Additional Context
swr@1.3.0
The text was updated successfully, but these errors were encountered: