-
I thought it would be common to ignore error if data already show on UI. I want to
I found issue #5920 imply that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
yeah there's no way to do this with suspense currently. We can't allow the what we could do is:
I would like option2, because that's how we're using error boundaries in general, and it's also what I recommend in my blog, but maybe I'm missing something. @Ephem what do you think ? |
Beta Was this translation helpful? Give feedback.
yeah, I agree this is the worst experience.
devs could use error logging in the
onError
callback of the QueryCache, which is always called, so I think it's at least possible to work around this.Also, given that you can always re-throw any error, I think we should do option 2 for v5 and document that properly.