babel/packages/babel-plugin-transform-react-constant-elements
Artem Butusov 5b86353b35 Added es3 backward compatibility for react helper code (#10155)
* Added es3 backward compatibility for react helper code

* tweak comment [skip ci]
2019-07-03 16:49:20 +02:00
..
2018-11-18 23:02:58 +01:00
2017-03-25 21:46:16 -04:00
2018-12-03 20:00:35 +01: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-dev @babel/plugin-transform-react-constant-elements

or using yarn:

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