TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

React+Flux can do in just 137 lines what jQuery can do in 10

9 pointsby graffiticiover 9 years ago

2 comments

lhorieover 9 years ago
Kinda linkbaity. As commenters in the article pointed out, the jQuery code omits the HTML and the React port has some functionality that is not present in the jQuery version, so the LOC comparison in the title is pretty meaningless.<p>The conclusion is that for a tiny one-off tool that can be banged out in 20 minutes, a big framework like React&#x2F;Flux is completely overkill. But for large codebases where maintainability is a big issue, then React&#x2F;Flux can be extremely useful (considering that&#x27;s exactly the problem React&#x2F;Flux try to address).<p>Am I the only one who thinks this stuff ought to be obvious?
评论 #10400116 未加载
brackcurlyover 9 years ago
I think this blog post is pointless. Of course every abstraction adds some overhead at first. If your problem is simple enough to fit in a few lines of code you don&#x27;t have to think a lot how you structure it.