Should InfiniteQuery be able to call 'fetchNextPage' when/if enabled = false? #2431
-
|
Hi All I'm using I copy/pasted the This would result in an "empty" search. Now, I fixed the bug in my Here is a minimal repro: https://codesandbox.io/s/elegant-fire-nflxm?file=/pages/index.js |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Just want to mention that if this is indeed a bug I would be happy to submit a PR. |
Beta Was this translation helpful? Give feedback.
-
|
it's an imperative method like |
Beta Was this translation helpful? Give feedback.
it's an imperative method like
refetch, which also bypasses the enabled flag by design. I'm not sure if this is intended here, but I don't think it's a severe thing