XML literal strings support
djaonourside opened this issue · 3 comments
djaonourside commented
Haxe 4.0.0-preview.5 has been released and it would be nice to have XML literal strings for jsx:)
kLabz commented
Yep but we would loose react fragments notation (<>some jsx</>
) =/
I need to test some alternatives.
kLabz commented
Fragments could be handled with <_> ... </_>
which is close enough imo.
But there is actually a real deal breaker: "xml" literals in haxe 4 preview 5 do not support tags starting with an uppercase letter (nor with a $
), which is important for React.
I'll close this until next preview if it contains a parser that does the job =/
djaonourside commented
I've created the issue.
HaxeFoundation/haxe#7558