This repository was archived by the owner on Sep 1, 2024. It is now read-only.
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
15.8.0: checkPropTypes
sometimes throws: Cannot read properties of undefined (reading 'hasOwnProperty') #369
Closed
Description
I tried upgrading from 15.7.2 to 15.8.0 in my project and now I'm getting this error on some of our unit tests:
Warning: Failed prop type: Cannot read properties of undefined (reading 'hasOwnProperty')
I've double-checked that I'm not passing undefined or null to checkPropTypes
; all the data is valid and intact. This seems like an error inside checkPropTypes
itself.
Metadata
Metadata
Assignees
Labels
No labels