TanStackT
TanStack3y ago
5 replies
foolish-indigo

reset error boundary if query succeeded

If I have a query that is being used in multiple parts of the same page, and if it fails, I want error boundaries to catch those components and render fallbacks.

But if the user presses Try Again on one of the queries, only that boundry is reset if the query is sucessful. The rest of the components are still rendering the fallback.

Is there anyway to have all the error boundaries reset?
Was this page helpful?