storybook/code/lib/channel-websocket
Ian VanSchooten f6402934a1 Revert "Upgrade to TS 4.8"
This reverts commit 9fe7fdc20b65b33bba0914b1446c404910555bf3.
2022-11-04 11:31:06 -04:00
..
2022-11-04 11:31:06 -04: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