Support Remix Single Fetch (v3_unstable_singleFetch
)
#2393
Labels
bug
Something isn't working
needs:triage
Issues that have not been investigated yet.
scope:node
Related to MSW running in Node
Prerequisites
Environment check
msw
versionNode.js version
18/20
Reproduction repository
—
Reproduction steps
Current behavior
MSW doesn't intercept any server-side requests (e.g. requests you make in your loaders) because they are invisible to MSW. Remix has to implement a single connection that routes multiple requests, and as such they are not individual requests that MSW can recognize and handle (this is my wild guess).
Expected behavior
MSW handles server-side requests when Single Fetch is enabled in Remix.
Important
This works fine with Single Fetch disabled.
The text was updated successfully, but these errors were encountered: