Open yinsang opened 2 years ago
pragma and pragmaFrag cannot be set when runtime is automatic.
/** @jsx Didact.createElement */ const element = ( <div id="foo"> <a href="">bar</a> <b></b> </div> )
"react-scripts": "3.0.0" was OK.
1/3/2022
Got it too.
8/11/2022 Got it too.
/* @jsxRuntime classic / /* @jsx Didact.createElement /
You can use this to solve the above error, it worked for me, just change jsx runtime to classic mode
pragma and pragmaFrag cannot be set when runtime is automatic.
"react-scripts": "3.0.0" was OK.