mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Improve error messages for invalid element types (#8612)
This commit is contained in:
@@ -286,7 +286,7 @@ src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
|
||||
* does not warn when the element is directly in rest args
|
||||
* does not warn when the array contains a non-element
|
||||
* should give context for PropType errors in nested components.
|
||||
* gives a helpful error when passing null, undefined, boolean, or number
|
||||
* gives a helpful error when passing invalid types
|
||||
* should check default prop values
|
||||
* should not check the default for explicit null
|
||||
* should check declared prop types
|
||||
|
||||
Reference in New Issue
Block a user