SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 113 TypeScript

feat(useQuery): enable the `throwOnError` option of `useQuery.refetch` (#907)

* feat(useQuery): allow useQuery.refetch to throw an error when the fetch fails

Enables the `throwOnError` configuration option for `useQuery.refetch` that has
as of yet only been present in the documentation but not in the code.

Relates to: #903 #843

* refactor(useQuery): move "useQuery.refetch" options to dedicated type
C
Christoph Dörfel committed
2ff6041b0fad1c2b829d497801411659de74ac03
Parent: 7d25d2f
Committed by GitHub <noreply@github.com> on 8/23/2020, 2:12:02 PM