mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix: plugin react-constant-elements transform JSXFrament not add container * test: add a jsx-in-frament test case for plugin-react-constant-elements * feat: hoist JSXFragment if possible * add more test cases --------- Co-authored-by: Huáng Jùnliàng <[email protected]>
4 lines
56 B
JavaScript
4 lines
56 B
JavaScript
function C(x) {
|
|
return <div x={x}>{<span />}</div>;
|
|
}
|