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

Support for apollo/react-hooks` #98

Closed
ItsBradyDavis opened this issue Mar 18, 2020 · 2 comments
Closed

Support for apollo/react-hooks` #98

ItsBradyDavis opened this issue Mar 18, 2020 · 2 comments

Comments

@ItsBradyDavis
Copy link

I'm running into an issue when trying to use trackExtraHooks: [[ApolloHooks, 'useQuery']] where using @apollo/react-hooks.

Running this crashes the application and gives me the error TypeError: Cannot set property useQuery of #<Object> which has only a getter.

Possibly related to this issue.

@vzaidman
Copy link
Collaborator

the issue is discussed at #85 with a workaround

@tpict
Copy link

tpict commented Mar 23, 2020

I'm not certain that the workaround in #85 is applicable to this library as it doesn't ship with a UMD version :(

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

3 participants