babel/packages/babel-plugin-transform-react-constant-elements
Bogdan Savluk 0058b7fef4
Migrate Babel from Flow to TypeScript (except Babel parser) (#11578)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-11-25 23:09:13 +01:00
..
2017-03-25 21:46:16 -04:00
2021-10-30 01:26:04 +02: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