relay-tools / relay-hooks

Use Relay as React hooks
https://relay-tools.github.io/relay-hooks/docs/relay-hooks.html
MIT License
540 stars 56 forks source link

Unable to use the official Relay Chrome Extension #65

Open stramel opened 4 years ago

stramel commented 4 years ago

When performing queries with relay-hooks, the Relay Chrome Extension doesn't seem to be picking up any of the queries.

I will try to work on creating a reproducible repo later this week. Just wanted to get this out here and see if maybe there is a trick to get it to work.

stramel commented 4 years ago

@morrys I tried the example in this repo: examples/relay-hook-example/nextjssr, I didn't see any of the queries or mutations in the chrome extension.

renanmav commented 4 years ago

And the extension works fine for queries made with official HOC’s? createFragmentContainer and so on...

I ask this because I’ve used the extension a while ago and it didn’t work. It was kinda buggy at the time.

stramel commented 4 years ago

@renanmav This is actually my first time using Relay so I'm unsure. I assumed that the official extension would work with the official implementation.

renanmav commented 4 years ago

Could you try to replace your hooks for HOC’s and see if the extension shows your queries?