* 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>
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
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 <div />;
|
|
};
|
|
return <span />;
|
|
};
|
|
}
|
|
} |