3 ms·
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 templ
by VWWHFSfQ 4y 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.
- whatever1 4y agoIf 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?
- Rafert 4y agoThe Basecamp folks feel that web and mobile are the same target: https://turbo.hotwired.dev/handbook/native 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.