reactotron
reactotron copied to clipboard
React Native 0.64 - Unable to connect but storybook switcher works fine
I created a new project recently and am struggling to try to get tron to connect.
The storybook switcher, however works fine.


Sample app: https://github.com/akiwarheit/scaling-disco/blob/main/src/debug/index.tsx
"reactotron-react-native": "^5.0.0"
I have also run into the same issue. Not able to connect with any simulator or real device.
My storybook switcher works as expected + I can also see the commands come through (e.g. subscribing to a state path) via console logs:
Reactotron.configure({..., onCommand: ({ type, payload }) => { console.log("I just received a ${type} command"); console.log(payload); }, })
Also, when checking the processes running on the 9090 port, everything looks to be connected as expected
It connects fine without the switcher.
@harryrush @akiwarheit
Same here, when switcher is on the root component, storybook works fine, but no activity anymore on reactotron
export default console.tron.storybookSwitcher(StorybookUIHMRRoot)(Root);