react-native-snap-carousel icon indicating copy to clipboard operation
react-native-snap-carousel copied to clipboard

ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types

Open harish-narra opened this issue 2 years ago • 7 comments

for version 0.69.1, we should have to import viewproptypes from 'deprecated-react-native-prop-types'. in this current version, viewproptypes import from 'react-native'. please let us know any updated version by this change

getting this error While upgrading 0.69.1 'ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'

harish-narra avatar Jul 05 '22 12:07 harish-narra

https://github.com/facebook/react-native/issues/33734#issuecomment-1171744473

CHANDRAMOHANnegi avatar Jul 05 '22 12:07 CHANDRAMOHANnegi

This error is valid, and not able to fix with @CHANDRAMOHANnegi suggestion. I beleive need basic new release with types. Will try to update type and open PR

yadigarbz avatar Jul 06 '22 20:07 yadigarbz

Two findings related:

Version 4.0.0-beta.6 does not have this error but has a few prop changes as I understand, reachable via yarn add [email protected]

Until my PR is accepted usable via yarn add yadigarbz/react-native-snap-carousel#df1ec4da3194eb20ffb797270b971a33b3ae6d72

yadigarbz avatar Jul 09 '22 13:07 yadigarbz

I am having the same error! Any updates?

AnatuGreen avatar Aug 19 '22 13:08 AnatuGreen

@AnatuGreen I used @yadigarbz patch and it worked. I'll be watching the repo to know when his PR has been approved and merged so as to switch back to main package

natemartins avatar Aug 24 '22 15:08 natemartins

Two findings related:

Version 4.0.0-beta.6 does not have this error but has a few prop changes as I understand, reachable via yarn add [email protected]

Until my PR is accepted usable via yarn add yadigarbz/react-native-snap-carousel#df1ec4da3194eb20ffb797270b971a33b3ae6d72

We are saved. Thank you so much from Japan.

katayama8000 avatar Mar 18 '23 08:03 katayama8000

Two findings related:

Version 4.0.0-beta.6 does not have this error but has a few prop changes as I understand, reachable via yarn add [email protected]

Until my PR is accepted usable via yarn add yadigarbz/react-native-snap-carousel#df1ec4da3194eb20ffb797270b971a33b3ae6d72

Just on point for now!

kusaasira avatar Sep 02 '23 18:09 kusaasira