|
|
|
|
|
by i_dont_know_any
405 days ago
|
|
Ah, the roadblocks are coming back to me. The first was using </* as the marker for the end tag of a JSXG element. It worked, but it seemed like it wouldn't be too well received as parsers today treat /* as a comment in that spot iirc. Edit:
The other premature concern/feature was the ability to have a for loop NOT render to an array and rather be inline. Normaly for (...) { yield <>...</> }
// becomes
[[<>...</>, <>...</>, ...]]
But I added a mechanism using string directives that would inline it: "use jsxg:inline"
for (...) { yield <>...</> }
// becomes
[<>...</>, <>...</>, ...]
|
|