UNPKG

499 BMarkdownView Raw
1# @babel/plugin-transform-react-constant-elements
2
3> Treat React JSX elements as value types and hoist them to the highest scope
4
5See our website [@babel/plugin-transform-react-constant-elements](https://babeljs.io/docs/en/next/babel-plugin-transform-react-constant-elements.html) for more information.
6
7## Install
8
9Using npm:
10
11```sh
12npm install --save-dev @babel/plugin-transform-react-constant-elements
13```
14
15or using yarn:
16
17```sh
18yarn add @babel/plugin-transform-react-constant-elements --dev
19```