Skip to content
Source
Sign inSign up
TanStack/query

[V3] cacheTime:0 and suspense: true infinite query fetches #1582

Send to my agent
Closednghieptiki(GitHub profile, opens in a new tab) opened this issue 1 comment

Describe the bug The problem with the suspense: true mode is enabled.

Reproduction https://codesandbox.io/s/delicate-dream-83voj?file=/src/Example.jsx

To Reproduce

  1. Uncomment suspense: true
  2. Check the Console tab
  3. See error loop infinity

Screenshots image

Desktop

  • OS: macOS
  • Browser: chrome
  • Version: 3.5.11

Additional context Related #1523

  1. We're tracking this issue in #1059

  2. tannerlinsley closed this

Sign in to join this conversation.