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

React query dev tools not showing data #39

Open
alxhghs opened this issue Apr 18, 2024 · 3 comments
Open

React query dev tools not showing data #39

alxhghs opened this issue Apr 18, 2024 · 3 comments

Comments

@alxhghs
Copy link

alxhghs commented Apr 18, 2024

I've had great luck with most of the dev-plugins, but can't seem to get the react-query one to work. Is the plugin currently working?

I've created a minimal test repo, demonstrating how queries are not showing in the Chrome browser.

https://github.com/alxhghs/react-query-dev-tools-test/tree/main

image
@wooller
Copy link

wooller commented Apr 25, 2024

This might not be the same for you but for me I had some pending chrome updates to install I was having issues with the network tab in the chrome debugger too. After installing the updates and re-launching chrome this plugin started to work and so did the network tab.

Word of warning, once this plugin started working. It drastically reduced the performance of our app when running a debug build, even when not launching the plugin window. It may be different in other apps but in the end we needed to remove it.

@jthoward64
Copy link
Contributor

This might not be the same for you but for me I had some pending chrome updates to install I was having issues with the network tab in the chrome debugger too. After installing the updates and re-launching chrome this plugin started to work and so did the network tab.

Word of warning, once this plugin started working. It drastically reduced the performance of our app when running a debug build, even when not launching the plugin window. It may be different in other apps but in the end we needed to remove it.

Not surprising, the plugin intercepts and serializes every single event. As a semi-proof of concept I don't there there was any performance work done on it

@AronBe
Copy link

AronBe commented Apr 26, 2024

➕ on the performance issues, but I think you don't have to remove it, just comment out the hook and enable when you really need it

// useReactQueryDevTools(queryClient)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants