-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore: upgrade example app to expo 46 & update dependencies #3446
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
chore: upgrade example app to expo 46 & update dependencies #3446
Conversation
|
Hey @slavikdenis, thank you for your pull request 🤗. The documentation from this branch can be viewed here. |
|
The mobile version of example app from this branch is ready! You can see it here |
|
@lukewalczak Could you please review and merge this? |
| {React.Children.map(props.children, (child, i) => | ||
| React.isValidElement(child) | ||
| ? React.cloneElement(child, { | ||
| ? React.cloneElement<any>(child, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking also about:
React.cloneElement(child as React.ReactElement<any>...
but don't have any strong preferences there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed via d478a72
src/core/Provider.tsx
Outdated
|
|
||
| if (!props.theme) { | ||
| subscription = addEventListener( | ||
| // @ts-expect-error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above, it would be nice to add a short comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
The mobile version of example app from this branch is ready! You can see it here |
2 similar comments
|
The mobile version of example app from this branch is ready! You can see it here |
|
The mobile version of example app from this branch is ready! You can see it here |
|
The mobile version of example app from this branch is ready! You can see it here |
Co-authored-by: Luke Walczak <lukasz.walczak.pwr@gmail.com>
Co-authored-by: Luke Walczak <lukasz.walczak.pwr@gmail.com>
c15941c to
ccf2656
Compare
|
The mobile version of example app from this branch is ready! You can see it here |
lukewalczak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the help @slavikdenis!
Summary
Updating as many as possible dependencies & example app to expo 46.
Fixing or adding ts-expect-errors to typescript errors that have to be removed or solved in the future
Test plan
Tested running example app on Android, iOS & web. I didn't face any problems, please test as well.
Closes #3440