* [transform-react-jsx] Add useSpread option to transform JSX * Add validation for default option * Add error when using useSpread and useBuiltIns at the same time * Move useSpread to convertAttribute helper function * Add useSpread option to presect-react * Remove casting useSpread to boolean in preset-react option. Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
@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