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

Support for React 17? #138

Closed
GiriB opened this issue Feb 4, 2022 · 9 comments
Closed

Support for React 17? #138

GiriB opened this issue Feb 4, 2022 · 9 comments

Comments

@GiriB
Copy link

GiriB commented Feb 4, 2022

We are moving our apps to React 17. Are there any plans to update this package to be compatible with React 17 as well?

From the React 17 has not major breaking changes so hopefully this wont be a lot of effort. Maybe the package.json can just expand dependency of react as ^16.0.0 || ^17.0.0

Thanks!

@makopch-ms
Copy link

@loyalchow Can you help here?

@luisVelasquezSauce
Copy link

Hi @GiriB @makopch-ms we are looking into this ATM. But will add should support for React 17.

@GiriB
Copy link
Author

GiriB commented Feb 14, 2022

Hey @luisVelasquezSauce! Do we have an ETA for this work? That will help us plan work on our end too. Thanks!

@luisVelasquezSauce
Copy link

Hello @GiriB, we do not have an ETA but would be very helpful if you can help us understand your need to update the dependency to react 17. We have tried the screener-storybook dependency with React 17 without changing the dependencies of screener-storybook and we haven't run into any issues. If we understand the need we can try to get this prioritized. Thanks

@sunilsurana
Copy link

All our projects are using React 17 so we would like to stay consistent across everything. There are multiple benefits we gain by keeping react version same across repo.

@GiriB
Copy link
Author

GiriB commented Feb 18, 2022

@luisVelasquezSauce +1 to what @sunilsurana said. I think since React 17 doesn't have any breaking API change since React 16, you may have not run into any issue while using them together. But even then, the right thing is to officially update the package.json to mention that screener-storybook can work with React 17 components as well.

@luishernandezv
Copy link

Hi @GiriB @sunilsurana we have published a beta version 0.0.23-beta.1 with the updated dependencies, please give it a try and let me know how it goes.

@sunilsurana
Copy link

Thank you @luishernandezv

@sauce-tartar
Copy link
Collaborator

Going to close this, we are testing with React 17 routinely with Storybook 6.4+

If you're still having trouble @sunilsurana we can re-open. We also have a 1.0.0 alpha that has additional upgrading.

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

No branches or pull requests

6 participants