Sourcehut has No JavaScript as one of it’s selling points, so i was wondering why it would be better that way?

  • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 years ago

    It really depends on how interactive the site needs to be. Managing the state of the UI on the frontend makes sense for sites where there is a lot of dynamic content. An email app is a good example. On the other hand, something like a blog or a news site likely doesn’t need a lot of interactivity. Also worth noting that htmx is an interesting compromise.