-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
How do I use Apollo Dev Tools with Storybook? #2415
Comments
Managed to solve this one 👍 This might be good to put a pointer to somewhere, and/or hopefully Google just picks this up for anyone searching for an iframe issue with other React tools The key is just bumping the client object up to the iframe parent as part of
|
Can't say that this would work; |
I have the same problem when i watch the story inside storybook, Dev tools doesn't show up. But it works if you open the story in another tab with "Open canvas in new tab"-button then the apollo tab in there. |
I agree with this except I only seem to get querys (not mutations). Both appear in the dev tools in my app, but when I render the Mutation component in storybook, and trigger the mutation, the function runs but does not appear in the Apollo client dev tools. |
My
__APOLLO_CLIENT__
is created, but it gets attached to the storybook-preview-iframe, so the devtools don't connect. Any ideas on how to connect this to the global window?https://github.com/apollographql/apollo-client-devtools
The text was updated successfully, but these errors were encountered: