You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The core concept with HTMX is that you update the GUI from the backend sending html that then replaces a target html DOM. Its highly productive and fast. Then you do not need React, Vue and all those complex gui libs.
I think the router might not be compatible with HTMX. you need to be able to compose routes and render partial nested page fragments when doing full page reloads, and if the htmx header is present only send the last page fragment (for htmx to handle the gluing on the browser).
IDK of any go library/framework that is able to do this.
Feature Description
htmx allows backend devs to build html based GUI using https://github.com/gofiber/template and then updating the html i the browser.
The core concept with HTMX is that you update the GUI from the backend sending html that then replaces a target html DOM. Its highly productive and fast. Then you do not need React, Vue and all those complex gui libs.
Visual Demo
You can see running examples here with source code: https://htmx.org/examples/
Golang examples
Here are a few golang examples:
https://github.com/donseba/go-htmx
https://github.com/livefir/fir
All you need is to include one js in your html page.
Additional Context (optional)
htmx (and hyperscript, alpinejs) too.
Code Snippet (optional)
Checklist:
The text was updated successfully, but these errors were encountered: