News for hackers. Stuff that matters.
Re:In Defense of the Modern Web by speedgoose on Friday May 15, 2020 @09:49AM (#23192121)
The web is not only html documents rendered server-side though. You need much more advanced interactions.
Re:In Defense of the Modern Web by timw4mail on Friday May 15, 2020 @10:02AM (#23192269)
I keep hearing this, but I think it's too broad of a statement.

There are definitely functionalities that are impractical to implement with server-side rendering and forms alone. Map widgets and drag-and-drop come to mind.

The issue I have though, is that the overwelming majority of web functionality can be implemented as server-side rendering.

Re:In Defense of the Modern Web by speedgoose on Friday May 15, 2020 @10:04AM (#23192301)
Even HN would have a poor usability with only server side rendering.
Re:In Defense of the Modern Web by grey-area on Friday May 15, 2020 @10:29AM (#23192570)
But you don't need javascript frameworks to add a small amount of state changes without page reloads, it's very easy to do without using something like react.

The comparison is between server-side with a bit of js where required, and the proposed 'modern web' where js frameworks attempt to take over the entire experience server and client side so that they can remodel the world in their image.

Most websites simply don't need react and friends, even if they are more app-like than doc-based they still don't need it, and they certainly don't need to be a single page application (the best modern example of throwing out almost everything that is good about the web - urls, links, docs, stateless).

Re:In Defense of the Modern Web by thrower123 on Friday May 15, 2020 @10:38AM (#23192679)
Turn javascript off and find out. The only difference I know of is that the vote buttons force a full refresh instead of making an ajax request.
Re:In Defense of the Modern Web by timw4mail on Friday May 15, 2020 @10:09AM (#23192366)
Sure, but it's much leaner because it only uses JavaScript when it is necessary.