Replies: 1 comment 1 reply
-
onError is deprecated and will be removed in the next major version: |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
When using
useInfiniteQuery
, I want theonError
callback to be triggered only whenfetchNextPage
fails, except for the case where the initial page fetch fails.Is there a recommended way or best practice for this?
Beta Was this translation helpful? Give feedback.
All reactions