react-native-pages icon indicating copy to clipboard operation
react-native-pages copied to clipboard

ViewPropTypes Depricated - Invariant Violation Error

Open eledahl opened this issue 3 years ago • 1 comments

Upgrading to Expo 46/React-Native .69 gave me Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.

Narrowed it down to Pages being the cause. App only runs when I comment out the Pages component.

eledahl avatar Aug 01 '22 20:08 eledahl

Also having this issue - advice from RN is to change import { ViewPropTypes } from 'react-native'; to import { ViewPropTypes } from 'deprecated-react-native-prop-types';

LaikaTheSpaceDog avatar Sep 21 '22 09:09 LaikaTheSpaceDog