Closed whittlem closed 5 years ago
I’m not clear on the problem here. eslint warnings are unrelated to whether propType validations are performed by react.
Please share your component code?
It's still not working but it is not causing a problem so closing this issue.
"react": "^16.8.4" "react-dom": "^16.8.4" "prop-types": "^15.7.2" "eslint-plugin-react": "^7.12.4"
prop-type warnings are not working in the web browser console. If the prop-type validation is removed and you run "eslint" it says the prop-types need to be validated. If you add the prop-type validation in then eslint is happy but you don't see any warnings if you deliberately create one.