storybook/lib/channel-websocket
Michael Shilman e3838c70aa v6.0.0-rc.7
2020-07-16 19:28:14 +08:00
..
2020-03-27 20:04:50 +01:00
2020-07-16 19:28:14 +08:00
2019-06-03 11:20:27 -07:00

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