react/packages/babel-plugin-react-jsx
Sebastian Markbåge 3e94bce765
Enable prefer-const lint rules (#18451)
* Enable prefer-const rule

Stylistically I don't like this but Closure Compiler takes advantage of
this information.

* Auto-fix lints

* Manually fix the remaining callsites
2020-04-01 12:35:52 -07:00
..
__tests__ Add Auto Import to Babel Plugin (#16626) 2020-02-13 12:36:19 -08:00
npm Babel Transform JSX to React.jsx/React.jsxDEV Plugin (#16432) 2019-08-27 16:00:20 -07:00
src Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
index.js Babel Transform JSX to React.jsx/React.jsxDEV Plugin (#16432) 2019-08-27 16:00:20 -07:00
package.json Add Auto Import to Babel Plugin (#16626) 2020-02-13 12:36:19 -08:00
README.md Babel Transform JSX to React.jsx/React.jsxDEV Plugin (#16432) 2019-08-27 16:00:20 -07:00

This package is intended to eventually replace the current @babel/plugin-transform-react-jsx, changing the JSX transform from targeting React.createElement(type, props, children) to React.jsx(types, props, key).

https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md

This is experimental and not intended to be used directly.