Closed Joseamica closed 11 months ago
The warnings come from MSW, the mock server that is launched alongside the app server during development (see server/dev-server.js, index.js and tests/mocks/index.ts).
It intercepts all outgoing requests, and since you're making GET requests to https://av.fly.dev
and you haven't defined a mock handler for that endpoint, you get the warning.
You can take a look in the mocks folder for examples on how to define handlers.
Also, when i just reload the app i get a lot of get requests
GET / 200 - - 33.989 ms GET /?_data=root 200 - - 17.430 ms GET /?_data=root 200 - - 2.206 ms GET /?_data=root 200 - - 3.146 ms
This is Remix calling loaders and revalidating data, multiple requests might be related to client-hints cookies:
Im using this stack for my main project, but when I use fetch I get a bunch of warnings, around 10x this message:
Also, when i just reload the app i get a lot of get requests