Undefined is not an object (evaluating '_react.PropTypes.bool')


#1


i was updating my project from sdk 21 to 24 then i got that error, im not using "proptypes’ in my project before. and im not getting that error in previous version. what should i do?


#2

react 16 removes React.PropTypes. some library that you are using uses that. see https://blog.expo.io/expo-sdk-v22-0-0-is-now-available-7745bfe97fc6 for info on proptypes removal