Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReactQueryDevtoolsPanel is not exported from "@tanstack/react-query-devtools" or the docs are wrong #6711

Closed
itshallrun opened this issue Jan 15, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@itshallrun
Copy link

Describe the bug

I am trying to use the ReactQueryDevTools in the embedded mode as explained in the docs:
@tanstack/react-query-devtools" has no exported member named ReactQueryDevtoolsPanel

But I get the error:
@tanstack/react-query-devtools" has no exported member named ReactQueryDevtoolsPanel

Your minimal, reproducible example

https://codesandbox.io/p/sandbox/react-query-devtoolspanel-reproduction-sthyww

Steps to reproduce

Try to import { ReactQueryDevtoolsPanel } from '@tanstack/react-query-devtools'

Expected behavior

ReactQueryDevtoolsPanel is exported from '@tanstack/react-query-devtools'

How often does this bug happen?

Every time

Screenshots or Videos

image

Platform

"@tanstack/eslint-plugin-query": "^5.17.7",
"@tanstack/react-query": "^5.17.12",
"@tanstack/react-query-devtools": "^5.17.12",

Tanstack Query adapter

react-query

TanStack Query version

5.17.12

TypeScript version

5.2.2

Additional context

no other context needed

@itshallrun
Copy link
Author

Looks like the latest version does not support the ReactQueryDevtoolsPanel, is that on purpose?

@TkDodo
Copy link
Collaborator

TkDodo commented Jan 15, 2024

we already have a discussion for this:

@TkDodo TkDodo closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2024
@TkDodo TkDodo added the duplicate This issue or pull request already exists label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants