Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?]: Upgrading Redwood to Canary causes "unmountComponentAtNode is not a function" in Storybook #10815

Open
arimendelow opened this issue Jun 14, 2024 · 0 comments
Labels
bug/needs-info More information is needed for reproduction topic/storybook

Comments

@arimendelow
Copy link
Contributor

arimendelow commented Jun 14, 2024

What's not working?

If you update an existing Redwood project that was already using Storybook to Canary, and then try to start Storybook, you'll get this:
Screenshot 2024-06-13 at 16 50 08

How do we reproduce the bug?

  1. Run yarn create redwood-app test-upgrade-to-canary to make a nice new fresh project.
    • (At time of writing, this created a project based on Redwood 7.6.3)
  2. Complete your project setup (yarn; yarn rw dev, etc).
  3. Generate a test component: yarn rw g component test.
  4. Optionally, run yarn rw sb and confirm that it works correctly at this stage.
  5. Upgrade to canary by running yarn rw upgrade --tag "canary".
    • (At time of writing, upgraded to "8.0.0-canary.797")
  6. Now, run yarn rw sb and note that you see the following:
Screenshot 2024-06-13 at 16 59 14




Alternatively, if you create the new project as a canary (npx create-redwood-app@canary), you'll have no such issues.

@arimendelow arimendelow added the bug/needs-info More information is needed for reproduction label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction topic/storybook
Projects
None yet
Development

No branches or pull requests

2 participants