Skip to content

fix(storybook-utils): allow React 19 and test with it #2950

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

bashmish
Copy link
Member

What I did

  1. allow React 19 storybook-utils, not only React 18, since Storybook allows it and we support both too
  2. test everything with React 19

This will simplify the dependencies graph, because currently due to how dependencies are resolve, most @storybook/* packages will install React 19, so our @web/storybook-utils will unnecessarily required React 18 to be installed in nested node_modules, however this is not really needed and we can rely on the root React 19 too.

Copy link

changeset-bot bot commented May 19, 2025

🦋 Changeset detected

Latest commit: 1b53424

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web/storybook-utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bashmish bashmish merged commit 67ba261 into master May 19, 2025
8 of 9 checks passed
@bashmish bashmish deleted the fix/storybook-utils-react-19 branch May 19, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant