ViewPropTypes usage
See original GitHub issueHi, with RN 0.69.1 (i think it doesn’t happen on RN 0.69.0), an app using react-native-screens won’t start because of ViewPropTypes was removed from RN
ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'., js engine: hermes
Any thoughts on this ?
Issue Analytics
- State:
- Created a year ago
- Reactions:9
- Comments:14 (6 by maintainers)
Top Results From Across the Web
ViewPropTypes will be removed from React ... - Stack Overflow
Recently I faced this issue in my two react native projects. These steps works for me 100%. I didn't get any deprecated props...
Read more >invariant violation viewproptypes has been removed - You.com
Invariant Violation: ViewPropTypes has been removed from React Native. ... It solves all the issues that react-native-snap-carousel has and it uses ...
Read more >How I solved the >>'ViewPropTypes' is ... - DEV Community
How I solved the >>'ViewPropTypes' is not exported from 'react-native-web/dist/index'<< error in 'react-native-snap-carousel'.
Read more >ViewPropTypes has been removed from React Native.
ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from ...
Read more >react-native ViewPropTypes JavaScript Examples
The following examples show how to use react-native.ViewPropTypes. You can vote up the ones you like or vote down the ones you don't...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This does seem to still be an issue; when upgrading from RN 0.68 to 0.70 I’m still seeing errors that look like
Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
.react-native-screens
is the only dependency in my tree that still importsViewPropTypes
from react-native directly.Should be pretty urgent considering Expo SDK 46 is already in beta