News for hackers. Stuff that matters.
Re:Modern Front-end in Rails by Can_Not on Friday December 08, 2017 @06:40PM (#15883081)
> You now have an entire codebase duplicating the request your client is making

This is factually wrong. You have a small component that mounts your front-end like a pure function. No loss in maintainability, no "duplicate" anything.

Re:Modern Front-end in Rails by debaserab2 on Friday December 08, 2017 @08:25PM (#15883634)
Not at all. There are two HTTP requests: one from your client to your rendering server and one from your rendering server to your app.

That's two different places that logic must be deployed to and tested against. It's irrelevant that it's the same render code.

Re:Modern Front-end in Rails by Can_Not on Friday December 08, 2017 @10:49PM (#15884174)
Except all 4+ SSR and framework teams have been working on this technology for years and put a lot of thought and design into it, so it's not so randomly sloppy that the one client SPA will need duplicate testing suites just to prerender HTML serverside.