Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Idea: non-HOC storybookSwitcher #1026

Open
leonskim opened this issue Nov 23, 2021 · 0 comments
Open

Idea: non-HOC storybookSwitcher #1026

leonskim opened this issue Nov 23, 2021 · 0 comments

Comments

@leonskim
Copy link
Member

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: infinitered/ignite#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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant