-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspackage: react-query-devtoolsreleased
Description
Describe the bug
For some reason, the ReactQueryDevtools component correctly shows the cache state, while the ReactQueryDevtoolsPanel component remains stuck in the 'fetching' state. The reproduction shows both dev tools running at the same time, but the same behavior happens when only ReactQueryDevtoolsPanel is running.
To Reproduce
Steps to reproduce the behavior:
- Open up this CodeSandbox https://codesandbox.io/s/dev-tools-panel-bug-fesez?file=/src/index.js
- Notice that the ReactQueryDevtoolsPanel on the right stays stuck in the "fetching" state while the ReactQueryDevtools component on the bottom updates correctly.
- Cause stale data to refetch (focus the window, toggle "Hide Users", whatever)
- The panel remains stuck in "fetching"
Expected behavior
The two ReactQueryDevtools components should be in sync.
Desktop (please complete the following information):
- OS: macOS
- Browser: Chrome/Safari
- Version: 3.24.4
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspackage: react-query-devtoolsreleased