-
const { data, refetch, isSuccess, isError } = useQuery({
queryKey: ['test'],
queryFn: async () => {
throw new Error('test');
},
retry: false,
throwOnError: false,
}); Using it this way causes errors to be thrown and ErrorBoundary to accept them, leading to unexpected UI fallbacks. |
Beta Was this translation helpful? Give feedback.
Answered by
StringKe
May 29, 2024
Replies: 1 comment 2 replies
-
Shouldn't be the case - please show a minimal reproduction |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TanStack/router#857 (comment)