HTML Templates | Why would you use them over react?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • htmx

    </> htmx - high power tools for HTML

  • For small and medium-sized applications, Go’s templates and a bit of HTMX (https://htmx.org/) are a fantastic combo. No extra dependencies to rely on. I’ve built 3-4 side projects that way and won’t honestly do anything else unless we’re talking about a larger team that is already used to React, or has serious scaling ambitions.

  • Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  • Expanding on some of the answers below, it doesn't always have to be either/or. After many years working with SPA's via React/Vue/Svelte, I've completely switched to HTMX, Hyperscript, TailwindCSS, and Go for all my frontend needs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • todo

    spiking out a todo list with htmx (by quii)

  • There's an open source TODO list example here. It generally gives you the right idea of where to go, though I do things a bit differently. I found this repo very helpful to get started though.

  • inertia

    Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

  • It seems that everyone is in htmx camp. Is really nobody using https://unpoly.com/ or https://inertiajs.com/. I find both of them interesting. I haven't used neither of them but unpoly v3 from what I have read seems easier/better than htmx

  • twinspark-js

    Declarative enhancement for HTML: simple, composable, lean.

  • gomponents

    View components in pure Go, that render to HTML 5.

  • I now always use https://github.com/maragudk/gomponents for frontend components (I'm the author of that library) together with HTMX (https://github.com/maragudk/gomponents-htmx), and it's just so much more fun and fast to work with.

  • gomponents-htmx

    HTMX attributes and helpers for gomponents.

  • I now always use https://github.com/maragudk/gomponents for frontend components (I'm the author of that library) together with HTMX (https://github.com/maragudk/gomponents-htmx), and it's just so much more fun and fast to work with.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts