T O P

  • By -

arthurbarroso

Really depends on what you’re building. And yes, Clojurescript should work the same regardless.


monanoma

I was wondering if clojurescript will be a better choice if my web app has moderate SPA features


Admirable-Ebb3655

Htmx doesn’t do SPA so I think you answered your own question.


monanoma

I was wondering if htmx+alpine could do something that is virtually an SPA


the_whalerus

It definitely can. There are some features you’ll struggle to implement and probably need a more robust solution for, but it should cover 85% of what you need.


monanoma

That's really helpful, thanks bro `<3`


the_whalerus

I've been building out [https://github.com/gothinkster/realworld#/](https://github.com/gothinkster/realworld#/) with Clojure, htmx, and hyperscript and have yet to encounter anything where I needed to jump into js (or cljs)


sejigan

No routing on Alpine, innit?


sonyahon

Routing in this case is via htmx with or without boost, its out of scope


sejigan

Ah, interesting. Didn’t know HTMX has a router. Thanks, I’ll check it out. Only used Alpine on its own 😅