works with react-native?
razorman8669 opened this issue · comments
any idea how to get this to work (if possible) with react-native development? I tried it out of the box to no avail.
Hey @razorman8669 thanks for your question. I've only dabbled with react native so I'm not sure! The chrome extension works by injecting some js into the page and then calling a function on window.RESELECT_TOOLS. Does react native even use chrome dev tools? (I hope so)
That being said, it's possible to call the same functions yourself! You can output a selector graph as json with selectorGraph. You can then upload that selectorGraph into the example app here.
Let me know if that helps!
IIRC the react / redux devtools do some fun RPC stuff to make them work for react native, but that's not what we're doing here.
tl;dr I never tested it with react native and I doubt it works.