* Mark transpiled JSX elements as pure * Avoid duble annotation * Add "pure" option to the React preset * Fix generator indentation * Update tests * Add tests for the "pure" option * Update windows fixtures
@babel/plugin-transform-react-jsx
Turn JSX into React function calls
See our website @babel/plugin-transform-react-jsx for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-react-jsx
or using yarn:
yarn add @babel/plugin-transform-react-jsx --dev