UNPKG

470 BMarkdownView Raw
1# Storybook Websocket Channel
2
3Storybook Websocket Channel is a channel for Storybook that can be used when the Storybook Renderer should communicate with the Storybook Manager over the network.
4A channel can be created using the `createChannel` function.
5
6```js
7import createChannel from '@storybook/channel-websocket';
8
9const channel = createChannel({ url: 'ws://localhost:9001' });
10```
11
12* * *
13
14For more information visit: [storybook.js.org](https://storybook.js.org)