Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
11–20 of 45 posts
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#12Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#13Or is it because I first clicked the full reload example several times?
iOS
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#14The second example counter is jumping around instead of incrementing/decrementing by 1. Is state being shared between users or somesuch? Or is it because I first clicked the full reload example several times? iOS
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#15Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#16Anyway I am lazy, so I would probably just use HTMX boosting:
// traditional code goes here
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#17The idea of using Go and Alpine.js together for building reactive web apps seems promising. As you mentioned, Fir is targeting devs with moderate HTML/CSS & JS skills. How does Fir handle more complex scenarios such as nested components, handling form submissions with client-side validation, and integrating third-party APIs or libraries? Does the toolkit offer any built-in functionality or guidelines for handling the…
This example has most of the scenarios you have called out: https://github.com/livefir/fir/tree/main/examples/fira . Fir aims to limit itself to rendering templates on the server and making it available for all subscribers as a browser CustomEvent which is consumed by alpine.js for more complex interactivity. The expectation is the that the developer handles it via either alpine.js plugins or standard JS code. [edit]…
It's got some unique ideas.
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#18I'm building a platform using GoFiber + AlpineJS and it's wonderful. I have to go through the Fir project because I'm trying to figure out what problem it solves. Wouldn't it be just as easy as using the vanilla net library + Alpine or one of the more established Go frameworks + Alpine? Honest question. If Fir has a value proposition that's unique im still in a position to pivot.
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#19I wonder if it slow because of the locking, because other than that it shouldn't use much resources to run this. Anyway I am lazy, so I would probably just use HTMX boosting: // traditional code goes here
htmx is great!
Re: Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
#20Earlier quoted context omitted.
This example has most of the scenarios you have called out: https://github.com/livefir/fir/tree/main/examples/fira . Fir aims to limit itself to rendering templates on the server and making it available for all subscribers as a browser CustomEvent which is consumed by alpine.js for more complex interactivity. The expectation is the that the developer handles it via either alpine.js plugins or standard JS code. [edit]…
I think this is adding unnecessary complexity. One of the reasons developers gravitate towards a framework like Alpine or HTMX is to write less JS and go back to enjoying HTML. Of course there are a lot of use cases that require custom JS scripting. But bootstrapping a project with another Go web framework and adding Alpine is also trivial. But keep going and follow your vision. I love these types of projects. Check…