Viewing profile — yawaramin
yawaramin
HN member- Joined
- Sat, Nov 03, 2012, 9:03 PM UTC
- HN karma
- 4,164
- Public activity
- 2,387 items
- HN profile
- View on Hacker News ↗
About yawaramin
No profile information was provided.
Recent public activity
-
comment
Comment #49204335
Sure, that's basically what Phoenix LiveView does. But I would submit that you don't actually need that level of complexity with a bit of judicious UI/UX design, where as the app g…
-
comment
Comment #49202190
> Fiddling with out-of-band swaps to solve this feels error prone and overly hard to maintain. This is almost always because of using a string-based templating system. If you use a…
-
comment
Comment #49151730
One man’s React is another man’s Blub.
-
comment
Comment #49141566
> They are overselling it. They quite literally have a a large essay on their site dedicated to discussing when to and when not to use it: https://htmx.org/essays/when-to-use-hyper…
-
comment
Comment #49141540
Ok, for the sake of completeness–why do you want to add a JSON API to the program? Quite a lot depends on the reason.
-
comment
Comment #49140659
Just do passkeys.
-
comment
Comment #49138693
Htmx is not meant for these use cases. We’re building great interactive webapps with htmx using the web platform’s built-in capabilities. If you need exact scroll position and text…
-
comment
Comment #49123989
No, every interactive event doesn't need to have a network request in the loop. And you only need a tiny bit of client-side JS for a most of the plumbing. It is quite pleasant to w…
-
comment
Comment #49090513
You inferred ‘reality’ by looking at examples that agree with your argument and ignoring ones that don’t. This is not theory, we have actually built this stuff. We’ve been telling …
-
comment
Comment #49090485
Htmx functions fine with any standard HTTP server in basic cases: it’s just an HTTP request and response with an HTML fragment. For progressive enhancement cases you can follow a v…
-
comment
Comment #49085643
Ok, take a look at the other popular frontend frameworks out there and tell me with a straight face that they don’t have their own mini-DSLs: https://docs.solidjs.com/concepts/cont…
-
comment
Comment #49085517
No, you were told ‘the things work’, with progressive enhancement. Like many frontend things, progressive enhancement isn’t automatic with htmx. But it’s relatively easy and best o…
-
comment
Comment #49078412
Most webapps out there will never need the level of complexity of SPA frameworks. They will work completely fine for the foreseeable future with something like htmx. The GitHub not…
-
comment
Comment #49078368
Maintenance burden, supply chain attacks and the constant dependency upgrade treadmill. With a very minimal footprint app, you can avoid all that to a large extent.
-
comment
Comment #49078314
Can be done by updating the form fields dynamically as they are edited. Doesn’t need to be done all in one shot. Eg: on blur of each field, send an htmx request and update the othe…
-
comment
Comment #49076011
Htmx can work great with web components.
-
comment
Comment #49075012
The htmx website is full of demos showing how htmx works. Htmx is a JavaScript framework. Unsurprisingly, some of these demos don’t work when JavaScript is turned off. This thread …
-
comment
Comment #49074979
You must be joking, React Flight Protocol for RSC is literally a new RPC system that comes with its own set of brand-new vulnerabilities. But sure, adding a couple of HTTP headers,…
-
comment
Comment #49074904
No they didn’t…they replaced whatever backend they had before with a Go server, which simplified things overall.
-
comment
Comment #49074027
Hamburger menu on the htmx.org site using JavaScript has nothing to do with htmx the framework itself, they’re completely unrelated. It wouldn’t be difficult to make the hamburger …
-
comment
Comment #49073960
> What do you think hx-get and hx-trigger Hx-attributes are not a new ‘templating syntax’, they’re custom attributes with a simple DSL for describing triggers and swaps. You can pr…
-
comment
Comment #49069644
That’s great, but unless you know some secret perfect technology that the rest of us don’t, every tech you use is also full of these workarounds, you just ignore them because you l…
-
comment
Comment #49069622
It doesn’t have its own templating syntax, it just uses server side HTML generation. It doesn’t require the backend to ‘conform’ to anything, it works with very standard HTTP forms…
-
comment
Comment #49065017
Htmx is actually quite good at graceful degradation IF you stick to hx-boost for most interactions. See https://dev.to/yawaramin/why-hx-boost-is-actually-the-most-i...
-
comment
Comment #49065011
Your comment post endpoint already knows what page the comment is in, it’s in whatever page the ‘post a comment’ form is in. When we design apps in a way that respects the conventi…