News for hackers. Stuff that matters.
Re:A day without JavaScript by madjam002 on Thursday June 08, 2017 @01:08PM (#14515510)
Agreed, but the overhead of coming up with "generic" ways to handle all of these interactive features like data fetching, redirects, etc, isn't that big (at least from what I've experienced).

It's good to have a standardised way of doing all of those things anyway, and when you do, you can make sure they all work on the server.

Re:A day without JavaScript by RussianCow on Thursday June 08, 2017 @05:32PM (#14517350)
I don't agree. Dealing with asynchronous API calls in a generic manner is, in my experience, non-trivial. It's been a little while since I've tried it, so maybe things have changed, but when I tried this, the React server rendering API converted the immediate rendering of the component to a string, which means you effectively have to pre-load all the relevant data outside the React app, which may be really difficult depending on how you've architected your app.

All the other stuff is pretty easy, though. :)