babel/packages/babel-plugin-transform-react-pure-annotations
2021-12-31 00:13:43 +00:00
..
2021-12-31 00:13:43 +00:00
2021-11-29 10:03:23 -05:00

@babel/plugin-transform-react-pure-annotations

Mark top-level React method calls as pure for tree shaking

See our website @babel/plugin-transform-react-pure-annotations for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-react-pure-annotations

or using yarn:

yarn add @babel/plugin-transform-react-pure-annotations --dev