* add next option for babel-plugin-transform-react-jsx * address review comments * chore: update test fixtures * Update fixture * Add "columnNumber" to the new React transform * Update windows fixtures * Delete unused output.js * Update windows tests * Fix windows again * fix comments Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Moti Zilberman <motiz88@gmail.com>
26 lines
419 B
JavaScript
26 lines
419 B
JavaScript
import { jsx as _jsx2 } from "react/jsx-runtime";
|
|
|
|
const Bar = () => {
|
|
const Foo = () => {
|
|
const Component = ({
|
|
thing,
|
|
..._react
|
|
}) => {
|
|
if (!thing) {
|
|
var _react2 = "something useless";
|
|
|
|
var b = _react3();
|
|
|
|
var c = _react5();
|
|
|
|
var jsx = 1;
|
|
var _jsx = 2;
|
|
return _jsx2("div", {});
|
|
}
|
|
|
|
;
|
|
return _jsx2("span", {});
|
|
};
|
|
};
|
|
};
|