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
feat(custom-data-provider): include react-query provider in custom-data-provider
Since the useDataQuery hook now uses react-query internally the
CustomDataProvider has been updated as well:
* We've configured react-query to not retry on errors when the useDataQuery
hook is a descendant of the CustomDataProvider. That way your tests won't time out
if you're testing queries that throw an error.
* The CustomDataProvider now accepts a `queryClientOptions` prop, which
allows you to configure react-query's QueryClient. For the available
options see: https://react-query.tanstack.com/reference/QueryClient
0 commit comments