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
Apollo Client Dev Tools get stuck #1325
Comments
Hey @stazcp 👋 Thanks for the report and apologies for the difficulty in getting this to work! We've done a lot of updates to the message passing recently to try and make them a bit more robust, but still seems we have some work to do! By chance do you have an app we can test this against? Unfortunately our demo app that we're using to test the devtools doesn't seem to show this behavior, so its been a bit difficult for us to really dig in to see what might be happening. A lot of the work at this point is a bit of guess work. Any more information you can help us with here would go a long ways! We'd love to get this fixed! I'll keep poking at the reloading code to see if there is anything that sticks out to me. Hope we can get this figured out soon! |
I also noticed this issue has been brought up before screen-recording-2024-04-12-at-61124-pm_apSMmxRu.mp4as you can see on the video provided I am performing queries and the tool has recorded 3 of them and now it has stopped working completely. Forgot to post this comment. Unfortunately, I cannot share this app with you since it is paid for, after restarting the dev tools a few times it seems to be working now. So I am not able to reproduce consistently but it does get stuck multiple times per day. Ways to potentially reproduce were:
Although I cannot reproduce 100% of the time, sometimes I just do something else and come back to the window to find it stuck again. Tech Stack: React, Typescript, Webpack |
Appreciate the info! I'm hoping to dig in a little more this week and see if I can figure something out. Again, sorry for the issue! |
Intended outcome:
Dev Tools Shows the actual queries live and doesn't get stuck.
Actual outcome:
Dev Tools work at times and other times they get stuck showing some queries and not updating when refreshing the page or visiting other pages, it also stops showing new incoming queries.
The workaround is to clear the browser cache and reload the dev tools.
How to reproduce the issue:
Use the dev tools in Chrome or Brave browsers.
Desktop (please complete the following information):
I am trying to increase adoption of useQuery by Apollo because of the ability to use these dev tools so I want to make sure it won't keep getting stuck and make it painful for us to work with.
The text was updated successfully, but these errors were encountered: