Files
react/packages
Nicole Levy f88deda83b Throw more specific error if passed undefined in React.cloneElement (#12534)
* throw error if passed undefined

* should be TypeError

* simplify

* use invariant

* editor messed up spacing

* better check

* Revert "better check"

This reverts commit 273370758e.

* yarn prettier test was failing

* more explicit copy

* es6 import

* tests

* formatting

* Move import
2018-04-10 02:16:36 +01:00
..