mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
c44c2a2161
* [#13130] Add a more helpful message when passing an element to createElement() * better conditional flow * update after review * move last condition inside last else clause * Added test case * compare 25132typeof to REACT_ELEMENT_TYPE * runs prettier * remove unrelated changes * Tweak the message