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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What do you use for front end?

2 点作者 Kpourdeilami超过 7 年前
Hello HN,<p>A while ago after doing some research, I decided to go with VueJS for the frontend of a project I was working on but it feels very clunky and slow. The page size with all the libraries installed is nearly 8MBs.<p>I&#x27;m considering ditching our SPA all together building a flask app to interact with the backend with 0 javascript to reduce the page size and make it faster. I was wondering if there are any lightweight alternatives to Vue or know any good practices for speeding up the SPAs?

2 条评论

christophilus超过 7 年前
8mb is nuts. Is this the minified &amp; gzipped size? Either way, code splitting and dead code elimination are your friends. I wonder if you&#x27;re including multiple versions of the same libraries, or pulling in heavy libraries for only a handful of features?<p>Is your code available somewhere for us to look at?
评论 #15267986 未加载
eberkund超过 7 年前
8 MB?<p>What on earth are you including in your pages?
评论 #15267943 未加载