-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
Update docs related to react-query #569
Comments
Hey, @adeelibr. Thanks for pointing this out. While keeping that page in sync is rather tedious and it does have a note about the potentially different API at the bottom, I don't mind updating it if it doesn't require much investigation. Please, should the Would this be a sufficient suggestion? import { QueryClient } from 'react-query'
const client = new QueryClient()
afterEach(() => {
client.clear()
}) The docs still mention |
Hi @kettanaito This is sufficient as well
Also it can be done with
|
@adeelibr would you be interested in shipping a pull request to the website repo? I like the |
I will make a PR for it today 👍 |
Fixed by mswjs/mswjs.io#127. The page is now live. Thank you once more. @adeelibr. |
Is your feature request related to a problem? Please describe.
Currently in the docs https://mswjs.io/docs/faq#react-query the method to clear query cache is outdated with ver3 released.
Describe the solution you'd like
We need to replace
with
Describe alternatives you've considered
🤔
Additional context
The text was updated successfully, but these errors were encountered: