dev-plugins icon indicating copy to clipboard operation
dev-plugins copied to clipboard

React query dev tools not showing data

Open alxhghs opened this issue 1 year ago • 8 comments

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

alxhghs avatar Apr 18 '24 16:04 alxhghs

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.

wooller avatar Apr 25 '24 15:04 wooller

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

jthoward64 avatar Apr 25 '24 20:04 jthoward64

➕ 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)

AronBe avatar Apr 26 '24 05:04 AronBe

I'm still having the same issue @alxhghs, any luck on this ?

reriveram avatar Feb 26 '25 16:02 reriveram

Yeah I can confirm that this isn't working with Expo 51 & React Native 0.74.5

svipas avatar Mar 14 '25 08:03 svipas