-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Describe the bug
Suspense mode does not working when to set cacheTime: 0, data will never resolve and infinite loop API call.
I just fork example from https://react-query.tanstack.com/guides/suspense and add cacheTime: 0 option.
To Reproduce
https://codesandbox.io/s/confident-darwin-6oz9t?file=/src/index.js
Steps to reproduce the behavior:
- Click on "Show Project" button
- Check the
Networktab - See loop problem
Desktop (please complete the following information):
- OS: macOS
- Browser: Chrome
- Version: 3.17.0
vcarel, alexgavrusev, horita-yuya and bmmpt
