relay-hooks icon indicating copy to clipboard operation
relay-hooks copied to clipboard

Unable to use the official Relay Chrome Extension

Open stramel opened this issue 5 years ago • 4 comments

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 avatar Mar 16 '20 19:03 stramel

@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.

stramel avatar Mar 16 '20 22:03 stramel

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.

renanmav avatar Mar 16 '20 22:03 renanmav

@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.

stramel avatar Mar 16 '20 22:03 stramel

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

renanmav avatar Mar 17 '20 00:03 renanmav