TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Lean Web

3 点作者 naetius超过 4 年前

1 comment

tannhaeuser超过 4 年前
Vanilla js is great and always refreshing (not in a browser kind of way lol) but the real question is for what do we actually need js at all? Maybe it's time for review and find ways to replace the most frequent essential js techniques (such as lazy loading and animated reveal menus) with declarative, bounded, secure, privacy-respecting, and energy-efficient mechanisms. Time seems right, too, as the "web stack" reaches maturity (as in, can't take any more features). Or actually, it might be too late with only Webkit-derived browsers left standing, in which case we could as well restart from scratch. While we're at it, we should maybe also give CSS the boot, replacing it with what we've learned in 13 years of responsive design. IMO, CSS is typically a big let-down, adding tons of untyped crap with massive cognitive issues and laughably overcomplicated, yet still incomplete layout mechanisms to otherwise reasonable markup, just so that we can pretend we're continuing to create HTML for casual academic publishing as conceived 30 years ago.