mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
c0b0337d1d
swc_ecma_parser: - Fix parsing of complex arrow expressions in a conditional expression. (#2174) - Report an error for wrong jsx, instead of `panic!`. (#2173) swc_ecma_transforms_react: - `jsx`: Handle fragment with single child correctly. (#2177) swc: - Ensure that #2170 is an invalid issue. (#2170)
7 lines
101 B
JavaScript
7 lines
101 B
JavaScript
export var App = function () {
|
|
return (
|
|
<>
|
|
<div>1</div>
|
|
</>
|
|
);
|
|
}; |