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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: For one-way publishing websites, are JavaScript UI frameworks helpful?

1 点作者 deanebarker将近 3 年前
Say you&#x27;re building a web SITE (not a web APPLICATION).<p>This is a site that simply publishes content. There&#x27;s no elaborate functionality or interactivity, other than a few web forms. The use cases is &quot;click a link, view a page, click another link, view another page, etc.&quot;<p>Can a full JavaScript UI framework like React or Svelte provide value here? Are they worth the trouble over simple server-side templating&#x2F;rendering of HTML (SSR)? Why or why not?

2 条评论

PaulHoule将近 3 年前
Unless you want some special UI, No.<p>One example of &quot;special UI&quot; would be using methods from the &quot;Progressive Web Apps&quot; toolkit to make a local copy of a web site you could use offline. You should be able to introduce that into a site which is otherwise pretty ordinary.
smt88将近 3 年前
Not React, but SvelteKit is great. It can export 0kb of JS for static-only sites.