You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
499 B

4 years ago
# @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](https://babeljs.io/docs/en/next/babel-plugin-transform-react-constant-elements.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-react-constant-elements
```
or using yarn:
```sh
yarn add @babel/plugin-transform-react-constant-elements --dev
```