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
When the suspense mode is on, I need to reset the error boundary if errors are caused by queries and the query keys of those failed queries have changed. The only workaround I have found so far is to manually pass the used keys inside the error boundary to ErrorBoundary.resetKey. However, this is inconvenient and difficult to maintain as the codebase grows. Is there a better way to achieve this? Thank you for your help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When the suspense mode is on, I need to reset the error boundary if errors are caused by queries and the query keys of those failed queries have changed. The only workaround I have found so far is to manually pass the used keys inside the error boundary to ErrorBoundary.resetKey. However, this is inconvenient and difficult to maintain as the codebase grows. Is there a better way to achieve this? Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions