Joe Haddad 371e152cd2
fix(jsx): do not throw on generated element in development mode (#12017)
* Fix `jsxDEV` for generated elements

* Throw invariant error

* Add test

* test: revise test layout

* fix: node 6 does not support trailing comma

* Use undefined node

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-08-31 15:16:47 -04:00

2 lines
9 B
JavaScript