@storybook/core-client
Storybook framework-agnostic API
Last updated 4 years ago by shilman .
MIT · Repository · Bugs · Original npm
$ cnpm install @storybook/core-client 
SYNC missed versions from official npm registry.

Storybook Core-Client

This package contains browser-side functionality shared amongst all the frameworks (React, RN, Vue, Ember, Angular, etc) in the old "v6" story store back-compatibility layer.

A framework calls the start(renderToDom, { render, decorateStory }) function and provides:

  • The renderToDom function, which tells Storybook how to render the result of a story function to the DOM
  • The render function, which is a default mapping of args to a story result in CSFv3
  • The decorateStory function, which tells Storybook how to combine decorators in the framework.

The start function will return a configure() function, which can be re-exported to be used in preview.js (deprecated), or automatically by the main.js:stories field to:

  • return a list of CSF files
  • [deprecated] make calls to the storiesOf API.

Current Tags

  • 7.1.0-alpha.29                                ...           future (2 years ago)
  • 7.0.26                                ...           latest (2 years ago)
  • 7.1.0-beta.0                                ...           next (2 years ago)
  • 6.5.17-alpha.0                                ...           prerelease (2 years ago)

26 Versions

  • 7.0.0-alpha.10                                ...           3 years ago
  • 6.5.17-alpha.0                                ...           2 years ago
  • 7.1.0-beta.0                                ...           2 years ago
  • 7.0.26                                ...           2 years ago
  • 7.1.0-alpha.29                                ...           2 years ago
  • 6.5.16                                ...           3 years ago
  • 6.5.9-alpha.2                                ...           3 years ago
  • 6.5.9                                ...           3 years ago
  • 7.0.0-alpha.2                                ...           3 years ago
  • 6.5.5-alpha.3                                ...           3 years ago
  • 6.5.0-rc.1                                ...           3 years ago
  • 6.5.5                                ...           3 years ago
  • 6.5.0-beta.8                                ...           3 years ago
  • 6.4.22                                ...           3 years ago
  • 6.5.0-alpha.38                                ...           4 years ago
  • 6.4.18                                ...           4 years ago
  • 6.5.0-alpha.23                                ...           4 years ago
  • 6.4.14                                ...           4 years ago
  • 6.5.0-alpha.18                                ...           4 years ago
  • 6.4.13                                ...           4 years ago
  • 6.4.12                                ...           4 years ago
  • 6.4.0-beta.0                                ...           4 years ago
  • 6.4.0-alpha.34                                ...           4 years ago
  • 6.3.8                                ...           4 years ago
  • 6.4.0-alpha.30                                ...           4 years ago
  • 6.3.7                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (20)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org