Skip to content

bug(storybook): React import is required for stories #191

@puehringer

Description

@puehringer

For our standard rspack config we use the swc.jsc.transform.react.runtime = 'automatic' mode, which allows us to not require any explicit React imports. But that's apparently not part of the storybook rspack plugin...

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions