Earlier quoted context omitted.
I think the DX is significantly better as well with fast reload… As a user, the typical SPA offers a worse experience. Frequent empty pages with progress bars spinning before some small amount of text is rendered.
> As a user, the typical SPA offers a worse experience. Your typical SPA has loads of pointless roundtrips. SSR has no excess roundtrips by definition, but there's probably ways to build a 'SPA' experience that avoids these too. (E.g. the "HTML swap" approach others mentioned ITT tends to work quite well for that.) The high compute overhead of typical 'vDOM diffing' approaches is also an issue of course, but at least…
We fell out of love with Next.js and back in love with Ruby on Rails
91–100 of 533 posts
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#92I’ve written a bit of rails and still don’t really get what the raving is about. It was perfectly fine, I didn’t find anything extra special about it. Having just hit severe scaling issues with a python service I’m inclined to only write my servers in Go or Rust anymore. It’s only a bit harder and you get something that can grow with you
Rails has ActiveRecord, which has an extremely elegant REPL. It's a delight to use.
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#93Earlier quoted context omitted.
Websites. Most websites are significantly simpler to build and maintain with SSR and traditional tools. An entire generation has forgotten this it seems and still thinks in terms of JS frameworks even when trying SSR. As one example take this website, which serves the page your wrote your comment on using an obscure lisp dialect and SSR.
>Websites. Wait, is SSR a thing outside the context of websites?
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#94When I see articles and discussions about web + stack I can’t but ask “What problem are they actually solving” ? The answer is always: put text on screen . When your business goal is put text on screen the next logical step is to ask how much time and money does the tech stack really save? I have never found a developer that answer that question with a number. That’s a really big problem.
> put text on screen I get where you're coming from but that's actually quite a bit of an oversimplification even for many web apps outside of the 1% for which a lot of modern web development solutions and frameworks seem to have been created. For one thing it doesn't take any account of input. When someone draws something with Figma or writes something in Google Docs or buys something from Amazon - or indeed any onl…
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#95Re: We fell out of love with Next.js and back in love with Ruby on Rails
#96I never really got the appeal of SSR, and I've implemented it a cuouple times with Next.JS and things like htmx. Can anyone come up with the ideal use case where SSR shines? I'm willing to buy it if I see it.
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#97Re: We fell out of love with Next.js and back in love with Ruby on Rails
#98Re: We fell out of love with Next.js and back in love with Ruby on Rails
#99Rails is still wonderful. But someone should fork Rails so it ceases to be associated with DHH. CEOs who reveal who they really are become really toxic to the brand. We've seen that happen with Tesla.
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#100I never really got the appeal of SSR, and I've implemented it a cuouple times with Next.JS and things like htmx. Can anyone come up with the ideal use case where SSR shines? I'm willing to buy it if I see it.
I run skatevideosite.com and accidentally did the first rewrite when I took it over in react because that’s all I knew. I absolutely tanked the seo.
Rewrote it in rails and got everything back in shape and it’s been a fun experience!