Hacker News new | ask | show | jobs
by raffomania 1976 days ago
To me, this looks like one of the few real ways out of the madness that is modern frontend development. Excited to see the approach gaining adoption!
1 comments

I don’t think this holds up anymore. Tooling has come so far.

I have never in my life been as productive as I am inside of a Vue/Tailwind code base at this point.

One of my clients is a fairly vanilla Rails 4 app (which is arguably a friendly place to be - although slow) and it’s not even close. I miss Vue and having a full “app” environment on the front-end side constantly. Jumping back and forth between these projects is like going from a hot and steamy comfy jacuzzi into an icy cold pool.

> I have never in my life been as productive as I am inside of a Vue/Tailwind code base at this point.

For what kind of app? Crud, frontend to a SaaS, something else?

I am still finding form-heavy apps needing frontend+backend form validation to be faster to write entirely server-side. Which is painful as more and more I have field types that are best off as JS widgets, and enhancing server-rendered forms is a pain.

You can certainly still use tailwind here.

Otherwise, the point is that you won’t have to jump back and forth—you can just stay on the backend. I’ve actually never used Stimulus Reflex, but in LiveView, I’m writing very small bits of JS maybe 2% of the time.

Speaking of, DHH looks like he's using tailwind with Rails, so the use-case is getting some love! DHH created this gem:

https://github.com/rails/tailwindcss-rails

I agree with you, but it took a long, long time to get that good and comfortable with react (in my case) years actually since I don't only do frontend.

For people who haven't already climbed that mountain and learned a new "language" I agree with GP. This could be a game changer.

My only regret is that for a while now JavaScript had basically been the standard. As good a development as I think this is, it will really in more fragmentation and less general purpose devs.

Nevertheless I think it's good, and web assembly was always going to do this to JavaScript ecosystem anyway.

The JavaScript framework era always felt like a bandaid while we figure out something better. I’m convinced liveview is the future.
I would give up my entire salary to be able server render views again. It is more than twice as efficient.