mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
# Conflicts: # app/react-native/readme.md # examples/cra-kitchen-sink/src/stories/__snapshots__/index.storyshot # examples/cra-kitchen-sink/src/stories/index.js # examples/crna-kitchen-sink/package.json # integration/__image_snapshots__/cra-kitchen-sink-snap.png # integration/__image_snapshots__/vue-kitchen-sink-snap.png # yarn.lock
Storybook Websocket Channel
Storybook Websocket Channel is a channel for Storybook that can be used when the Storybook Renderer should communicate with the Storybook Manager over the network.
A channel can be created using the createChannel
function.
import createChannel from '@storybook/channel-websocket';
const channel = createChannel({ url: 'ws://localhost:9001' });
For more information visit: storybook.js.org