Skip to content

fix: add react 17 to peer dependencies #536

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
Jan 29, 2021
Merged

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Jan 29, 2021

Summary

Our React version requirement needs to match what react-native depends
on. Changing it to specific versions rather than a blanket 16.x or 17.x
to make sure that we stay compatible.

Resolves #535.

Test Plan

No tests needed. CI should pass.

@tido64 tido64 requested a review from krizzu January 29, 2021 07:46
Our React version requirement needs to match what react-native depends
on. Changing it to specific versions rather than a blanket 16.x or 17.x
to ensure that we stay compatible.
@tido64 tido64 force-pushed the tido64/fix-peer-deps branch from 7cd1e0b to 5ac782e Compare January 29, 2021 08:13
Copy link
Member

@krizzu krizzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tido64 tido64 merged commit fb0ce97 into master Jan 29, 2021
@tido64 tido64 deleted the tido64/fix-peer-deps branch January 29, 2021 11:00
@krizzu
Copy link
Member

krizzu commented Jan 29, 2021

🎉 This PR is included in version 1.13.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@atokuswanto
Copy link

@tido64 , by this update, we cannot use async-storage blow react-native 0.59, right?
Should we to stick to v1.13.3 for react-native 0.59?

@tido64
Copy link
Member Author

tido64 commented May 17, 2021

@atokuswanto: Strictly speaking, you still can. You'll get a warning that requirements aren't met but I think you'll be fine. I don't think we require anything that will break on 0.59. That said, 0.59 is several years old now. The further you get from latest version, the harder it will be to migrate.

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.

Does AsyncStorage support react 17.0.1 or how do i do that?
3 participants