Replies: 1 comment 3 replies
-
I don't think it should go that far. if that's not the case - can you provide a codesandbox reproduction? |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hey. How did you solved case when you have pagination, you are on last page (eg. 12 of 12) which has only one item. You are doing mutation which removes this last item. On success you call
invalidateQueries
.In my case server returns
404
becauseGET /api/list?page=12
does not exist soonError
is called and app has runtime error.Did anyone have similar case? How do you handle that case?
Beta Was this translation helpful? Give feedback.
All reactions