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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Easiest JavaScript front end framework for a back end dev?

3 点作者 hashedout超过 4 年前
Hello HN!<p>I&#x27;m a working as a NodeJS dev for past 2 years. I find working on frontend very tedious, this is the reason why I purchase themes as they already have custom components. For a personal project I&#x27;ve built the whole frontend using EJS to render HTML, the vanilla JS to do everything else.<p>I tried learning React but it was a steep learning curve for me. Now I want to convert the whole frontend app into a fast loading SPA. What framework is the easiest to learn?<p>So far I&#x27;ve run into these options: Svelte and VueJs.

6 条评论

xenopticon超过 4 年前
Vue might have a similar learning curve as React if you are only used to Vanilla and template engines. Never really checked Svelte. Alpine.js [1] could be an option too.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;alpinejs&#x2F;alpine" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alpinejs&#x2F;alpine</a>
评论 #25015689 未加载
skylark超过 4 年前
If you&#x27;re looking for something dead simple, I&#x27;d suggest Mithril. The API is tiny, but powerful, and will give you the tools you need to create reactive views that update to state changes.<p>The major downside to using highly unopinionated frameworks like Mithril is that the burden of project organization is on you. But since this is a personal project that you can use to learn FE development, I think it would be a good fit.
runawaybottle超过 4 年前
Honestly, just use JQuery. If you need a resume item, then just go React. A lot of what React offers on teams is that it makes it dead simple to make a reusable component. I’ll throw a rock at someone at work if they didn’t make the component sensibly reusable (takes obvious props, does one predictable thing, doesn’t take 50 props, etc - you know, the same kind of shit you’d expect of a good function, sane defaults, sane arity, sane output).<p>It’s hard to expect people to make a sane function, let alone a sane front end component. Before React, our expectations were zero in this space. If you care about these things, invest the time and learn React. If not, jquery is more than enough to build the most robust modern ui that will be performant. In other words, show me the most advanced&#x2F;performant user interface you see on the internet today and I’ll show you how to do it with jquery (you have my word on this).
g5becks超过 4 年前
Svelte, by a large margin imo.
fiftyacorn超过 4 年前
Try react but nextjs. I find it conceptually easier
评论 #25021033 未加载
评论 #25099173 未加载
bnt超过 4 年前
Both! I find Vue easier because it feels more like the old days of jQuery and AngularJS (HTML templates etc).