Closed ajenkins closed 2 years ago
I believe this fixes #222
Update: Got a reply from someone on the React team about the "right" way to fix this. Apparently they want everyone to start using Flow or Typescript instead of relying on prop types.
Migrating to Flow or Typescript would be a much bigger change though, and probably isn't worth doing just to fix this one warning.
Personally, I would greatly appreciate for this pr to be merged since this is the only package I have left which creates this warning :)
Thanks for the great work!
Hi, Any update on this?
Hi, Any update on this?
I wish! @mrlaessig Any chances of this getting merged?
Thanks :)
This library is now raising an error (was a warning), when opgrading to react native 0.69. Merging this PR now it's pretty important.
Any news on this PR ? It is breaking RN 0.69.
If some people need that urgently, you can still use https://www.npmjs.com/package/patch-package. Working well applying changes in this PR. Not ideal but can save a build.
having the same issue. would be great to merge this!
After upgrading to React Native 0.68, I started seeing this warning:
ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
Personally, I don't love the suggested solution, but I don't know what the alternative is (I asked about better alternatives here).
I based this PR off of a similar PR for react-native-maps.
It's unfortunate that this fix requires adding the first and only dependency to this package, but without adding
deprecated-react-native-prop-types
todependencies
, anyone who wants to use this package would need to have their own copy ofdeprecated-react-native-prop-types
installed, which would be annoying.