Live data from Hacker News

UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

unsuckjs.com

51–60 of 194 posts

Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

#51
post #48

I'd love to see a list of heavily interactive sites that use the HTMX technique. I believe Github uses something like HTMX + ActionCable, and it shows how good that experience can be (and some limitations). But I think it's in the small minority. It'd be nice to know of more examples, instead of just more libs.

Same, it seems like the kind of thing that would be highly useful with light interactivity, but may not scale well. I also haven't really spent much time in it, so idk.

Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

#53
post #48

I'd love to see a list of heavily interactive sites that use the HTMX technique. I believe Github uses something like HTMX + ActionCable, and it shows how good that experience can be (and some limitations). But I think it's in the small minority. It'd be nice to know of more examples, instead of just more libs.

I haven't studied the guts of it, but I've been impressed recently with Github. It feels like a normal, page-by-page application, with human-readable URLs, and none of the usual SPA shenanigans as far as after-page loading, infinite-scroll nonsense, or broken back button behaviour... but then stuff happens like a page that's sitting open on a PR automatically pulls new comments as they are posted, and it looks identical to if that page was loaded afresh. Spiffy.

Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

#54

Earlier quoted context omitted.

A fresh install of NextJS is roughly 150MB. You realise that's mostly code that all needs to work right?

That's all on the backend so it doesn't really matter to me as long as no JS is sent on the frontend. For the benefits NextJS gives me, like TypeScript, I'm fine with that.

In that case why not just SSR lit on the backend and send that? It sounds like an unfair criticism otherwise

Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

#57
post #48

I'd love to see a list of heavily interactive sites that use the HTMX technique. I believe Github uses something like HTMX + ActionCable, and it shows how good that experience can be (and some limitations). But I think it's in the small minority. It'd be nice to know of more examples, instead of just more libs.

Hey.com is one.

Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

#58
post #42

Earlier quoted context omitted.

Not requiring NPM was one of my original requirements for anything on this list. All of these libraries should be available from HTML directly -- let me know or make a PR if that isn't the case.

Maybe you can add that somewhere in subtitle somehow? as it's not immediately clear

Good idea! I'll add it to the subtitle.

Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries

#59

Awesome list! I love that the cognitive overhead for web apps now is so great many people are "returning to monke" and coding in simple HTML/CSS/JS haha. Question: Shouldn't the items be in the row so I can see all of them at once? Why are the items in the columns? I'll open a issue (:

>Shouldn't the items be in the row

Maybe! I was messing with different UI approaches to relay this data and this made sense to me, but I'll see if switching to rows is more clear. Thanks for the idea!

Post reply on HN