| ▲ | miffy900 an hour ago | |
This is why I have strongly preferred JSX over any other UI DSL (specifically the typescript variant, TSX) I've tried. It looks like a DSL, but it actually isn't - it's just regular javascript/typescript with a very thin 'declarative/markup' veneer. it basically tricks you into thinking you're writing a HTML-like UI-DSL, but it also just so happens to accept arbitrary JS expressions, because it is just regular JS. | ||