• Hexarei@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Web development is, and will always be, just a game of finding increasingly cursed unique ways to concatenate HTML strings

  • Macil@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    This looks like how React components are written if you make the weird choice of not using the JSX syntax extension for React elements. I wonder if you could make a JSX-like DSL with Rust macros. JSX really helps for making this kind of stuff bearable.