* [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/preset-react
Babel preset for all React plugins.
See our website @babel/preset-react for more information or the issues associated with this package.
Install
Using npm:
npm install --save-dev @babel/preset-react
or using yarn:
yarn add @babel/preset-react --dev