Skip to content

Error: Multiple instances of <Root> found when using with Storybook #48

@RNm-dove

Description

@RNm-dove

Description:
When using this library with Storybook, an error occurs:
Error: Multiple instances of <Root> found!

Expected Behavior

Storybook should work without this error.

Steps to Reproduce

  1. Clone the repository:
    git clone https://github.com/RNm-dove/react-call-storybook-bug
    cd react-call-storybook-bug
  2. Install dependencies:
    npm install
  3. Start Storybook:
    npm run storybook
  4. The error appears on the screen.

Reproduction Repository

https://github.com/RNm-dove/react-call-storybook-bug

Screen Shot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd party toolsSupport or bugfixes for 3rd party toolsdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions