Our great sponsors
-
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.
-
inertia
Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
-
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.
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.
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.
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.
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
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.
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.