Skip to content

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

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

@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.

3 participants