storybook/lib/channel-websocket
Norbert de Langen aab7aa2cef
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/notes/package.json
#	addons/storyshots/storyshots-core/package.json
#	lib/addons/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/core/src/client/preview/story_store.js
#	lib/core/src/server/manager/manager-webpack.config.js
#	lib/ui/package.json
#	lib/ui/src/modules/api/configs/init_api.js
#	lib/ui/src/modules/ui/components/menu_item.stories.js
#	lib/ui/src/modules/ui/components/search_box.stories.js
#	lib/ui/src/modules/ui/components/shortcuts_help.stories.js
#	lib/ui/src/modules/ui/components/stories_panel/index.stories.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.stories.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.stories.js
2018-11-30 14:03:58 +01:00
..
2018-07-31 19:34:05 +03: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