←back to thread

165 points ksec | 1 comments | | HN request time: 0.212s | source
Show context
GenericCanadian ◴[] No.43550757[source]
Phlex is an amazing project. Makes frontend fun again. I've built my own UI library using DaisyUI and Tailwindcss that we use in all our Rails projects: https://github.com/inhouse-work/protos

It cannot be overstated how nice it is to move away from erb and into pure ruby. Private methods as partials is a game changer for refactoring your UI.

replies(2): >>43551131 #>>43551900 #
freedomben ◴[] No.43551900[source]
I increasingly wonder if I'm the only one left who genuinely likes erb :-D

Not a fan of the rails erb helper methods though, so maybe it doesn't count. I almost exclusively use it outside of rails now

replies(2): >>43551973 #>>43552112 #
1. barefootford ◴[] No.43551973[source]
I don't know if I'm a fan but I've almost never had erb be the problem in a Rails app. The LLMs can work with it easily. Don't need to bring in extensions to work with major text editors. Sticking with ERB for now.