3 ms·
> JSX is a really elegant way to avoid templating, but we're back to templating with HTMX Not necessarily. There are libraries in all mainstream languages that
by yawaramin 2y ago
> JSX is a really elegant way to avoid templating, but we're back to templating with HTMX
Not necessarily. There are libraries in all mainstream languages that let you embed HTML generation directly in your backend server itself, without using a templating engine. Some examples:
Python: https://htpy.dev/ https://htpy.dev/
Scala: https://com-lihaoyi.github.io/scalatags/ https://com-lihaoyi.github.io/scalatags/
OCaml: https://yawaramin.github.io/dream-html/ https://yawaramin.github.io/dream-html/ (that's mine)
> Routing, state management, auth, components, theming, API access, and more are all still problems that people add libraries for and those problems don't go away
Actually they kinda do go away. Have you ever tried Ruby on Rails? It does all this out of the box.