babel/packages/babel-plugin-transform-react-constant-elements
Nicolò Ribaudo 9f4e2f81d8
[class-properties] Remove unnecessary return and temp variable (#8123)
* Remove unnecessary temp variable

* Update tests
2018-06-08 07:02:36 +02:00
..
2017-03-25 21:46:16 -04:00
2018-05-25 09:00:02 -07:00
2018-06-04 10:32:39 -04:00

@babel/plugin-transform-react-constant-elements

Treat React JSX elements as value types and hoist them to the highest scope

See our website @babel/plugin-transform-react-constant-elements for more information.

Install

Using npm:

npm install --save @babel/plugin-transform-react-constant-elements

or using yarn:

yarn add --save @babel/plugin-transform-react-constant-elements