Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update testing with disabled retries #2460

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

mauriciosoares
Copy link
Contributor

When testing my app with jest + enzyme I had a lot of problems trying to resolve the useQuery api call, then I found on this blog post explaining that disabling the default retries can make things easier, and that indeed worked for me.

So I just took a piece of the doc written on that blog post (because it was already well written and clear) and added it to the official docs, I really think that'll help out new react-query users test their apps if they come across that issue 🤘

@vercel
Copy link

vercel bot commented Jul 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/AZZhMKJw1r9em8D9rWF4XpQyyWnd
✅ Preview: https://react-query-git-fork-mauriciosoares-patch-1-tannerlinsley.vercel.app

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0f3c169:

Sandbox Source
tannerlinsley/react-query: basic Configuration
tannerlinsley/react-query: basic-typescript Configuration

@TkDodo TkDodo merged commit caf841a into TanStack:master Jul 16, 2021
@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 3.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants