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

Bump dependency to support React 18 #18701

Conversation

eirslett-visma
Copy link

@eirslett-visma eirslett-visma commented Jul 13, 2022

Issue:

The package "react-element-to-jsx-string" was only supporting React <= 17.
Bumping it to a newer version adds support for React 18.

https://www.npmjs.com/package/react-element-to-jsx-string
https://github.com/algolia/react-element-to-jsx-string

What I did

Bumped the dependency

How to test

  • Run the test suite/build

If your answer is yes to any of these, please make sure to include it in your PR.

The package "react-element-to-jsx-string" was only support React <= 17.
Bumping it to a newer version adds support for React 18.

https://www.npmjs.com/package/react-element-to-jsx-string
https://github.com/algolia/react-element-to-jsx-string
@nx-cloud
Copy link

nx-cloud bot commented Jul 13, 2022

☁️ Nx Cloud Report

We didn't find any information for the current pull request with the commit 6b10387.
You might need to set the 'NX_BRANCH' environment variable in your CI pipeline.

Check the Nx Cloud Github Integration documentation for more information.


Sent with 💌 from NxCloud.

@yannbf
Copy link
Member

yannbf commented Jul 18, 2022

Hey @eirslett-visma thanks for your contribution!
I wonder if the new version of this library is backwards compatible and works fine with React 15,16 and 17? Or is this a possible breaking change?

Also, did you forget to update the lockfile?

@manzapanza
Copy link

manzapanza commented Aug 17, 2022

I noticed that @storybook/addon-actions supports 18 but still depends on [email protected] that doesn't support it. So we also should bump to the latest [email protected] .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants