Reactotron.storybookSwitcher() only works by wrapping the entire app. However, there are cases it's not ideal so what I've done is to connect to Reactotron directly by websocket and capture the messages: https://github.com/infinitered/ignite/pull/1839
The problem from above is, toggling Storybook is not bidirectional, so ultimately we'd need to have some sort of a listener and a message sending interface works like storybookSwitcher.
Reactotron.storybookSwitcher()
only works by wrapping the entire app. However, there are cases it's not ideal so what I've done is to connect to Reactotron directly by websocket and capture the messages: https://github.com/infinitered/ignite/pull/1839The problem from above is, toggling Storybook is not bidirectional, so ultimately we'd need to have some sort of a listener and a message sending interface works like storybookSwitcher.