Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels