Skip to content

Conversation

@slavikdenis
Copy link
Contributor

@slavikdenis slavikdenis commented Oct 28, 2022

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

@slavikdenis slavikdenis linked an issue Oct 28, 2022 that may be closed by this pull request
@callstack-bot
Copy link

callstack-bot commented Oct 28, 2022

Hey @slavikdenis, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@thlindustries
Copy link

@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, {
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed via d478a72


if (!props.theme) {
subscription = addEventListener(
// @ts-expect-error
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed via c8131d8 & dca14b7

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

The mobile version of example app from this branch is ready! You can see it here

.

2 similar comments
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

The mobile version of example app from this branch is ready! You can see it here

.

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

The mobile version of example app from this branch is ready! You can see it here

.

@slavikdenis slavikdenis changed the base branch from main to 1.0 November 8, 2022 09:26
@slavikdenis slavikdenis changed the base branch from 1.0 to main November 8, 2022 09:26
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

The mobile version of example app from this branch is ready! You can see it here

.

@slavikdenis slavikdenis force-pushed the 3443-upgrade-expo-to-46-in-the-example-app branch from c15941c to ccf2656 Compare November 8, 2022 09:40
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

The mobile version of example app from this branch is ready! You can see it here

.

Copy link
Member

@lukewalczak lukewalczak left a 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!

@lukewalczak lukewalczak merged commit d75825b into main Nov 14, 2022
@lukewalczak lukewalczak deleted the 3443-upgrade-expo-to-46-in-the-example-app branch November 14, 2022 11:27
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.

Upgrade Expo to 46 in the example app Where is unmountOnBlur from Navigator.Screen options prop?

6 participants