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

Migrated ViewPropTypes to deprecated-react-native-prop-types #119

Closed
wants to merge 2 commits into from

Conversation

madhus1025
Copy link

Related Issue

View PropTypes is deprecated, need to migrate to another library
facebook/react-native#33557

Description

ViewPropTypes is deprecated and we have to migrate to deprecated view prop types untill we completely eliminate it.

Sample Card

NA

How Verified

@cameroncharles
Copy link

cameroncharles commented May 22, 2023

Text.propTypes.style

This, used on line 53 of the file edited here, is also deprecated and needs the same fix, i've not checked any other others

update: Also the react-native-video dependency has the same issue, it has a point version patch, 5.2.1, with the same fix proposed here so that should be set to the min

That assumes this is the fix the repo manager want to go with

@pragadeeshk
Copy link
Collaborator

pragadeeshk commented May 23, 2023

@madhus1025 This change looks fine to me. Can you just add deprecated-react-native-prop-types to the dependencies in package.json

Meanwhile we are also changing prop-types in other places in the code and dependencies. As @cameroncharles mentioned, the react-native-video is also upgraded and will be released in next build.

Copy link
Collaborator

@pragadeeshk pragadeeshk left a comment

Choose a reason for hiding this comment

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

This issue is resolved by #120

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.

None yet

3 participants