* 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>
* Inject `__source` and `__self` in JSX elements earlier
This fixes an issue where `this` was not correct inside arrow functions, similar to
906f8be24d
* Add test
* Remove try-catch
* Update error
* Update fixtures
* Update windows fixtures
* Mark transpiled JSX elements as pure
* Avoid duble annotation
* Add "pure" option to the React preset
* Fix generator indentation
* Update tests
* Add tests for the "pure" option
* Update windows fixtures