news.volyx.in

Breaking up with JavaScript front ends (triskweline.de)

650 points by hdjjhhvvhga · 1366 days ago · 421 comments on HN

Article summary

The article discusses the decision to move away from JavaScript frontends and Single-Page Applications (SPAs) in favor of server-side rendering, citing issues with complexity, maintainability, and user experience. The authors propose using Unpoly, a JavaScript library that allows for server-side rendering with dynamic updates, to address these issues. The article highlights the benefits of this approach, including improved performance, simpler code, and better support for accessibility features. The authors also discuss the challenges of implementing this approach and provide examples of how Unpoly can be used to improve the user experience.

Main themes

  • Server-side rendering
  • JavaScript frontends
  • Single-Page Applications
  • Web development trade-offs
  • Accessibility and performance

What commenters say

  • Some commenters argue that the move away from JavaScript frontends is a step backwards, citing the benefits of SPAs in terms of responsiveness and user experience. Others disagree, arguing that server-side rendering can provide a better user experience with faster page loads and more accessible content. A few commenters note that the article's presentation, which uses a JavaScript-based slide deck, is ironic given the topic. Several commenters discuss the trade-offs between different approaches to web development, including the use of frameworks like React and Angular, and the importance of considering factors like performance, maintainability, and accessibility. Some commenters argue that the idea of moving away from JavaScript frontends is not new, and that server-side rendering has been a standard approach for decades. Others argue that the rise of SPAs has led to a lack of understanding of the benefits and trade-offs of server-side rendering among newer developers.
  • themes": [