babel/packages/babel-plugin-transform-react-constant-elements
Nicolò Ribaudo d21e2217d5
Skip newlines around inline #__PURE__ annotations (#11133)
* Skip newlines around #__PURE__ annotations

* Update tests
2020-02-13 19:16:33 +01:00
..
2019-11-16 16:05:40 +01:00
2017-03-25 21:46:16 -04:00
2020-01-13 22:36:19 +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