Skip to content

migrate react-components to use new storybook configuration (DX) #18514

@Hotell

Description

@Hotell

Describe the issue:

Actual behavior:

react-components is being build via just scripts and customised storybook machinery that lives within react-examples.

This disables any kind of functionality provided by colocated story setup:

  • common setup for parameters/decorators
  • generating controls from TS metadata (argTypes need to be specified by hand)
  • performance/speed to build

Expected behavior:

Prerequisites:

  • All vNext packages migrated to new DX (stage 1) that uses collocated stories and storybook configs
  • react-components
    • use same setup as collocated stories
    • are not handled by react-examples
    • collocated stories doesn't have to manually write argTypes (remove all of those from vNext collocated packages)

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions