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
Working with the new version V.2 of msw, does not react the same as V.1. I have ran into issues with the HttpResponse.json() and not seeing the data returned from const {data, isLoading} = useHook(). I see data is undefined and isLoading true when call is made (expected), the isLoading goes to false after my await waitFor(()=>{}) but I do not see my object return in the data.
Not sure if you are actively using the tanstack/react-query and msw V.2 yet, but if are, would be cool to see how you made it work.
The text was updated successfully, but these errors were encountered:
Working with the new version V.2 of msw, does not react the same as V.1. I have ran into issues with the HttpResponse.json() and not seeing the data returned from const {data, isLoading} = useHook(). I see data is undefined and isLoading true when call is made (expected), the isLoading goes to false after my await waitFor(()=>{}) but I do not see my object return in the data.
Not sure if you are actively using the tanstack/react-query and msw V.2 yet, but if are, would be cool to see how you made it work.
The text was updated successfully, but these errors were encountered: