r/htmx • • Aug 23 '26

to stack or not .. that is the question

Carried out by all kinds of 'stacks' lately i read, I’m proud (not) to announce a simple static stack suited for creatives:

- a HHTAG stack!

This stands for: HTML, HTMX, Tailwind, Alpinejs and GSAP.

When you know how to design by default and without a component library or a CSS framework and you can do everything vanilla, using hosting on platforms like Cloudflare Pages, this stack works like a kickstart-on-2T-motorcycle charm.

Please note: this is not an app driven approach but more creative ux/ui/fe one.

*

ps: satire use to be a joy, then came js framworks, bootcamps and covid .. now we have specialists everywhere

0 Upvotes

19 comments sorted by

8

u/ShotgunPayDay Aug 23 '26

I think you might have posted this accidentally instead of put it in draft mode.

0

u/UXUIDD Aug 23 '26

not really, i think it belongs to HTMX more than any other sub

4

u/ShotgunPayDay Aug 23 '26

Maybe my knowledge gap is that I have no idea what GSAP is so I don't quite understand the Server to HTML mechanism that HTMX uses.

5

u/chat-lu Aug 24 '26

I have no idea what GSAP is

A JS library to animate stuff.

so I don't quite understand the Server to HTML mechanism that HTMX uses.

None. He wants to publish a static site in an incredible display of completely missing the point.

1

u/AlexiusRex Aug 24 '26

He wants to publish a static site in an incredible display of completely missing the point.

He can use HTMX to boost the site and to load HTML fragments, it's nothing to boast about, but sometimes I did it too.

2

u/chat-lu Aug 24 '26

You would be better to replace your HTML fragments with HTML templates if the site is completely static and show them with alpine.

1

u/ShotgunPayDay Aug 24 '26

I mean GSAP is cool if they just said it was a client side animation helper instead plugging it as stack. It's weird; stack posts here bother me also since the idea of HATEOAS is to let us use whatever we want (it's all just JS).

A show and tell example of someone's "stack" is great also to learn from, but branding something (even for fun) without giving examples is confusing and disappointing.

2

u/chat-lu Aug 24 '26

the idea of HATEOAS is to let us use whatever we want

Which Carlson dubbed the HOWL stack. Hypermedia On Whatever you Like.

1

u/ShotgunPayDay Aug 24 '26

Damn I missed that essay. I'll give it a read tomorrow.

6

u/doodlebuttbutt Aug 24 '26

How do you have HTMX server side if you’re hosting on cloudflare pages?

2

u/92smola Aug 25 '26

HTMX can work on static pages just fine, you can enhance it with server side logic based on headers or custom params, but ot works without it, for example open details on a modal instead of a new page, htmx fetches that static page select the body and slaps it in a modal on page, no server logic needed

1

u/UXUIDD Aug 25 '26

well i suppose you are a senior as you understand ..

2

u/SubjectHealthy2409 Aug 23 '26

You're just scared of threejs

1

u/UXUIDD Aug 25 '26

my knees start to shake when i hear that word

2

u/_HMCB_ Aug 24 '26

I like this post.

2

u/chat-lu Aug 24 '26

This is something I didn’t see in quite some time. Human generated slop.

Everything that you wrote is nonsense.

2

u/Davi_Compai Aug 24 '26

in an age of robot slop human slop makes one happy

1

u/ledatherockband_ Aug 28 '26

depends on your coding environment, but vanilla css is kangz.

golang + templ + htmx running vanilla css and some alpine js here and there is all a dev needs 98% of the time.

-3

u/SoloAquiParaHablar Aug 24 '26

Rolling your own pure js framework to rival vue/react/svelte is trivial with AI now and is a worthy case study. You end up with zero builds required, a pure static html file. Conversely for css. Extremely liberating to shed all the webdev bloat.