Hacker News new | ask | show | jobs
by VWWHFSfQ 1272 days ago
Depending on what your app is, I've found server-side rendering to be superior in nearly every way. I don't use Rails but Django is the same way. Django templates, bootstrap, jQuery and sprinkle in a little bit of HTMX here and there and my productivity has never been higher.
1 comments

If you are building for a single target (aka web browser) I agree, it’s very easy to access your ORM with SSR.

But if you plan to support multiple targets (web, mobile, headless) then you have to develop an api anyway so why not use the best front end framework for each of your targets?

The Basecamp folks feel that web and mobile are the same target: https://turbo.hotwired.dev/handbook/native

Rails doesn't stop you from building a backend for your React and React Native frontends, for example just look at Shopify.