Replies: 1 comment
-
I am using React Query, Axios, and MSW together, and they work very well. I also confirmed that the provided code works. (My React Query version is 4.36.1) Please take a look at React Query’s network mode. In fact, depending on the network settings, React Query sometimes does not send network requests. You can try that like this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a problem, and I really don't know if it's a problem with msw, react-query or axios. But simply msw is not listening to the calls that are made to the api through react-query.
browser.js
msw.js
main.js
axios.js
service.js
useGetData.js
Can someone please guide me in proving what is needed. It should be noted that in the navigation console I get
[MSW] Mocking enabled.
Beta Was this translation helpful? Give feedback.
All reactions