Skip to content

ViewPropTypes from react-native is deprecated, to remove error warnin…#1000

Open
HigorLeodoro wants to merge 1 commit intomeliorence:masterfrom
HigorLeodoro:master
Open

ViewPropTypes from react-native is deprecated, to remove error warnin…#1000
HigorLeodoro wants to merge 1 commit intomeliorence:masterfrom
HigorLeodoro:master

Conversation

@HigorLeodoro
Copy link

ViewPropTypes was removed from react-native and this caused an error warning message on console log in react-native/Expo local server...

I added the deprecated-react-native-prop-types to remove the error message from the console, this aproach was choosed because, is the best way to fix the error, because the alternative aproach to would be to change the application to TypeScript(TSX).

Screenshot_1703039630

…g from react-native, use ViewPropTypes from deprecated-react-native-prop-types
@Aftab3gamersden
Copy link

i also get the same error but its not getting slove ?

@higor-leodoro
Copy link

@Aftab3gamersden, I
I forked it but didn't make a pull request in the repository, but if you want you can use my fork address:

HigorLeodoro/react-native-snap-carousel#master

here the error don't appear...

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