* 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>
17 lines
276 B
JavaScript
17 lines
276 B
JavaScript
/** @jsxRuntime classic */
|
|
var foo = function () {
|
|
var _this = this;
|
|
|
|
return function () {
|
|
return React.createElement(_this, null);
|
|
};
|
|
};
|
|
|
|
var bar = function () {
|
|
var _this2 = this;
|
|
|
|
return function () {
|
|
return React.createElement(_this2.foo, null);
|
|
};
|
|
};
|