relayjs / relay-examples

A collection of sample Relay applications
MIT License
1.14k stars 427 forks source link

[Next13] Fetch being called twice when preloading queries #291

Open baristikir opened 1 year ago

baristikir commented 1 year ago

This issue is related to the relay-next-13 example. Every preloaded query is firing two network fetch calls which seems to be response cache related.

https://user-images.githubusercontent.com/44122379/236671371-e62d83ba-0e78-4713-be7c-0669b2350747.mov

cheema-corellian commented 10 months ago

I can confirm. I am seeing this as well. Two hits for the same data on one page load.

rbalicki2 commented 5 months ago

Can you disable react strict mode? This may be an issue related to strict mode, in which case, it is expected