Skip to content
Source
Sign inSign up
TanStack/query

RefetchOnReconnect causes ERR_NETWORK_CHANGED in chrome browser #9482

Send to my agent
Closedwwglala(GitHub profile, opens in a new tab) opened this issue 2 comments

Describe the bug

request error

Your minimal, reproducible example

none

Steps to reproduce

  1. set staleTime = 3 * 1000
  2. After 3 seconds, change your wifi

Expected behavior

request normal

How often does this bug happen?

None

Screenshots or Videos

https://github.com/user-attachments/assets/472445e5-fe98-47dc-88b4-c7f621c28ec6

Platform

chrome

Tanstack Query adapter

None

TanStack Query version

5.56.2

TypeScript version

v5

Additional context

No response

  1. A minimal, reproducible example would help clarify the issue.

    Can you provide one via StackBlitz or similar?

  2. TkDodocommented

    Thank you for filing this issue, but we need more information before looking into this.

    Specifically, a minimal, standalone, runnable reproduction is needed - preferably with codesandbox or stackblitz. If your issue is TypeScript related, prefer a TypeScript playground.

    We'll close this issue for now, but we'll certainly re-open it if there is a proper reproduction.

  3. TkDodo closed this

  4. TkDodo added labelsneeds-info

Sign in to join this conversation.