katoikia-app/web-ui/web-react/node_modules/@babel/plugin-transform-react-cons.../README.md

20 lines
489 B
Markdown
Raw Normal View History

2022-07-06 04:15:11 +00: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](https://babeljs.io/docs/en/babel-plugin-transform-react-constant-elements) 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
```