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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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