Hey,
We've been using the react-query devtool plugin for a long time now. After upgrading from Expo SDK 51 to 52 which upgraded this package from 0.0.7 to 0.1.0 we noticed a huge performance drop in the JS thread. We're firing what I'd consider a very reasonable amount of requests on the initial load of the home screen (about 10-15, most if not all of them return in less than 100ms).
When the useReactQueryDevTools(queryClient) line is commented out everything works normally but when it's included the performance tanks and the app is not interactive for about 10-15 seconds, that is, you can scroll but not tap buttons. The UI thread is not affected, only the JS thread.
For now we're going to leave the plugin commented out by default and only enable it when we need to during development.
Any help would be greatly appreciated.
Thanks!
Hey,
We've been using the react-query devtool plugin for a long time now. After upgrading from Expo SDK 51 to 52 which upgraded this package from
0.0.7to0.1.0we noticed a huge performance drop in the JS thread. We're firing what I'd consider a very reasonable amount of requests on the initial load of the home screen (about 10-15, most if not all of them return in less than 100ms).When the
useReactQueryDevTools(queryClient)line is commented out everything works normally but when it's included the performance tanks and the app is not interactive for about 10-15 seconds, that is, you can scroll but not tap buttons. The UI thread is not affected, only the JS thread.For now we're going to leave the plugin commented out by default and only enable it when we need to during development.
Any help would be greatly appreciated.
Thanks!