Consider jsxFrag as set when it's set to the default value (#11295)
* Consider jsxFrag as set when it's set to the default value * Test #11294
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/* @jsxFrag React.Fragment */
|
||||
/* @jsx h */
|
||||
<>Test</>;
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"transform-react-jsx"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* @jsxFrag React.Fragment */
|
||||
|
||||
/* @jsx h */
|
||||
h(React.Fragment, null, "Test");
|
||||
Reference in New Issue
Block a user