react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

[Feature request] Add Apollo Dev Tools

Open peggyrayzis opened this issue 9 years ago • 43 comments

Hi there from the @apollographql team! We would love to add support for Apollo Dev Tools into the React Native Debugger. Currently, we are in the process of extracting our dev tools into a standalone app (much like the Redux dev tools) to make this possible.

Do you have any guidance on how to add new extensions to the React Native Debugger? šŸ˜€

peggyrayzis avatar Nov 06 '17 18:11 peggyrayzis

I've plan in #61 but no enough time. Very excited to hear Apollo team is going to make the standalone app! I'll move the old discussion here.

We have to do #160 first because it have tab feature, after that we can consider add the devtools as Apollo tab, then add the client hook in the RNDebuggerWorker. For example, Redux DevTools is send messages via WebWorker.

I was thinking make a flexible interface for add more extensions easier, this may be better way in the future.

jhen0409 avatar Nov 08 '17 04:11 jhen0409

@peggyrayzis @jhen0409 This is great news! I'm currently using graphql with the Apollo client now but have been using React Native with this debugger with a redux setting for quite some time. I'm 100% sure this is the missing piece for React Native with Apollo for the absolute best development experience.

Let me know if I can help out in any way 😃

larryranches avatar Nov 08 '17 04:11 larryranches

This is awesome. I’m literally jealous of web having this and not on native (where arguably is needed the most). šŸ™

About tabs: I'm not sure what it means, since I've been out of the loop, but I was able at that point to get it loaded as part of the Chrome devtools. A separate tab would be fine too, specially if more goodies are being brought into it ;)

EDIT #3: šŸ˜‚ Also happy to help BTW.

blackxored avatar Nov 08 '17 10:11 blackxored

We have new UI changes coming from the new Redux DevTools Extension, the following screenshot is new-ui branch of remotedev-app (v0.11 beta):

b3d1ec9045d07e9856c9bcab3d4cb0e8

So we can see the tabs on top. In the RNDebugger, it may change to the main function of the app instead of just for Redux DevTools:

  • Redux as Actions tab
  • RemoteDev as Reports of remotedev if we want to support it
  • Apollo tab
  • More extensions could add here in the future, maybe move React as well
  • Settings as all possible settings of RNDebugger

I'll also mention about the plan in #160.

jhen0409 avatar Nov 09 '17 03:11 jhen0409

Does anyone have any ideas about how to use Apollo Dev Tools with react native, before it lands in the debugger project?

mattfysh avatar Nov 29 '17 03:11 mattfysh

It looks as though Apollo Dev Tools needs to provide remote support first, before this can be integrated. See https://github.com/apollographql/apollo-client-devtools/issues/6

mattfysh avatar Dec 05 '17 03:12 mattfysh

@jhen0409 have you reached out to the apollo team? They may be willing to help if it means better react-native support for apollo.

acomito avatar Dec 13 '17 14:12 acomito

Happy new year everyone! @peggyrayzis @jhen0409 Any update for us on this? would be awesome.

larryranches avatar Jan 18 '18 20:01 larryranches

Hey everyone! I'm nearly done with a large architecture rewrite for the Apollo devtools mirroring projects like Vue and React. Would love to take a look about 1st class support here!

jbaxleyiii avatar Jan 23 '18 23:01 jbaxleyiii

@jhen0409 would you be able to give me an idea of what the integration would need?

jbaxleyiii avatar Feb 05 '18 00:02 jbaxleyiii

Would love this!

acomito avatar Feb 15 '18 01:02 acomito

For sure this would be a fantastic tool. Apollo with RN is such a perfect combination that for sure deserves this great debugging. :-) In the meantime, please, if you have a good way to debut a RN app with Apollo client, please share here.

brunoreis avatar Mar 01 '18 14:03 brunoreis

Also need Apollo Devtools. Probably just install as a plugin should be enough?

alexmbp avatar Mar 14 '18 10:03 alexmbp

I need Apollo Devtools too

vdpdev avatar Mar 14 '18 10:03 vdpdev

Ditto, I need Apollo Dev Tools to work with RN.

kaseonedge avatar Mar 28 '18 16:03 kaseonedge

ditto

Jarred-Sumner avatar May 01 '18 21:05 Jarred-Sumner

šŸ‘€

wrod7 avatar May 21 '18 15:05 wrod7

@peggyrayzis @jbaxleyiii @jhen0409 any news on this?

danilobuerger avatar Jul 18 '18 14:07 danilobuerger

Hi all - here's where things stand with this, from the Apollo side. The Apollo Dev Tools refactoring that was mentioned in https://github.com/jhen0409/react-native-debugger/issues/177#issuecomment-359973030 was completed a while ago. Since then there hasn't been much traction with regards to getting the Apollo Dev Tools built out into either a standalone app, or integrated more closely with this project. The groundwork has been laid to make either approach easier to accomplish now, but there is still some work to do. The Apollo team would love to get the dev tools integrated here, but is a bit caught up in other areas right now. Would anyone in the community be interested in working on this? The Apollo team will definitely try to help out as much as possible. Thanks!

hwillson avatar Jul 27 '18 15:07 hwillson

What about integrating it with Reactotron? https://github.com/apollographql/apollo-client-devtools/issues/122

kumarpatel avatar Aug 01 '18 14:08 kumarpatel