Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I want to make a SSR site using Ruby, are there any good frontend UI libraries that make doing this easier? It’d be nice if there was some Ruby abstraction for writing HTML, CSS, and JS that makes building interactive UIs easier (possibly built on top of HTMX, AlpineJS, etc).



Very intriguing, thanks for sharing this.


Do you mean like Hotwire?

https://hotwire.io/


Yes that is quite close to what I had in mind, thanks


I would suggest taking a look at Phlex (https://www.phlex.fun/). This kind of ruby maximalism is very pleasing to the dev process. For the interaction I'm using hotwire and stimulus. Been using pure Phlex views in production for 2 years now. I wrote Protos (https://github.com/inhouse-work/protos) which is built on top of Phlex and adds a bunch of quality of life features I wanted.


Also, you can check out the list of UI libraries for Hotwire https://hotwire.io/ecosystem/ui-frameworks


Thank you! This is exactly what I was looking for.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: