Closed haoliangwu closed 1 month ago
does it work if you make it <script lang="jsx">
?
I don't want to parse everything as jsx all the time, because there's a typescript cast syntax that intersects with jsx, so I made it look for lang="jsx"
or lang="tsx"
in SFCs to support both cases
@UnrefinedBrain
does it work if you make it Githubissues.
Githubissues is a development platform for aggregating issues.
the isJsx here should also consider the following scenario for making
@babel/parser
support jsx automatically, eg:anyway, it is probably a edge case here that mixing usage of
h
andjsx
syntax.