Skip to content

react-query-devtools: restore loading infinite wait #7098

@ByungyeonKim

Description

@ByungyeonKim

Describe the bug

When clicking the restore loading button with a combination of react-query-devtools and json-server, a bug occurs causing an infinite wait.

However, downgrading to version 4 resolves the issue and it works normally.

Your minimal, reproducible example

n/a

Steps to reproduce

n/a

Expected behavior

In version ^4.36.1, the Promise object is fulfilled, but in version ^5.26.3, it remains in a pending state.

How often does this bug happen?

Every time

Screenshots or Videos

v^4.36.1 v^5.26.3
스크린샷 2024-03-13 오후 3 21 27 스크린샷 2024-03-13 오후 3 20 39

Platform

  • macOS
  • browser: chrome(122.0.6261.112)

Tanstack Query adapter

None

TanStack Query version

v5.26.3

TypeScript version

v5.3.3

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions