Ghirro / graphql-network

Chrome Devtool that provides a "network"-style tab for GraphQL requests to allow developers to debug more easily.
321 stars 33 forks source link

is this work with react native? #1

Open sibelius opened 8 years ago

sibelius commented 8 years ago

Great tools!

is this work with react native?

do u have any idea of how to integrate with react native?

Ghirro commented 8 years ago

Hmmm interesting question, I'm starting a React Native project in the next few days and will take a look.

sibelius commented 8 years ago

I've made this work with react native

You just need to uncomment this line: https://github.com/facebook/react-native/blob/master/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js#L177

when all the requests will go into network tab while debugging on chrome

take a look on this: https://github.com/facebook/react-native/issues/934

Ghirro commented 7 years ago

Just as an update to this, I've been working with RN a fair bit recently and this is more of a debugger problem than a problem with the extension so we'll have to wait on it to be supported from that end.