question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ViewPropTypes usage

See original GitHub issue

Hi, 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:closed
  • Created a year ago
  • Reactions:9
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

11reactions
corbtcommented, Sep 22, 2022

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 imports ViewPropTypes from react-native directly.

1reaction
hirbodcommented, Jul 22, 2022

Should be pretty urgent considering Expo SDK 46 is already in beta

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found