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.

The front end community wants to wash its hands of the decade we lost

57 pointsby caspiiover 2 years ago

14 comments

stemukover 2 years ago
After reading the entire thread I am still in the dark about what exactly the author wants to see changed.<p>The narrative that frameworks = bad and vanilla js = good falls apart quickly IMHO in medium to large sized projects since the complexity has to be abstracted in some way in order to reach a realistic timeframe for completion.
评论 #33286964 未加载
评论 #33286926 未加载
评论 #33287242 未加载
评论 #33289185 未加载
评论 #33289598 未加载
评论 #33286970 未加载
CharlieDigitalover 2 years ago
I&#x27;m at a startup that builds an e-comm platform. Currently on Next.js; evaluating Astro.<p>We&#x27;re slowly coming to the realization that none of these platforms are either simpler or faster than what we could do with modern vanilla.<p>Some very basic things like show&#x2F;hide images and blocks of text based on user selection require an obscene amount of code&#x2F;complexity in React that in vanilla is just<p><pre><code> element.style.display = condition ? &#x27;none&#x27; : &#x27;block&#x27; </code></pre> Bonus is that there&#x27;s no need to think about component re-render. No need to think about hooks, callbacks, memos, effects, etc. A whole layer of complexity disappears.<p>From a performance perspective, there&#x27;s no contest. Not only is the resultant JS more performant, having the content actually in HTML at download results in faster renders and time to interactive. Our stats show 90+% of our users are mobile so being fast and light are key parameters.<p>I think the author&#x27;s point is that while HTML, JS, and CSS have been advancing, a generation of developers have been invested in React rather than learning the fully capable and often better underlying capabilities of modern browser platforms. There are many, many developers who have been trained in React + component frameworks with only a very cursory understanding of the underlying HTML, JS, and CSS.<p>Should any team use component libraries or roll vanilla? It depends on the objectives of each team. Often that tradeoff is time to market and future tech debt versus absolute performance. (I have not worked on a React project that didn&#x27;t have massive tech debt not because of React itself, but the complexity ramp that arises with additional packages, dependencies, state management, and general lack of deep understanding of React&#x27;s render model).<p>We still like Astro because it allows us the flexibility to use React (or Vue, or Svelte) in dollops where it makes sense.
评论 #33289318 未加载
评论 #33287420 未加载
评论 #33287394 未加载
christophilusover 2 years ago
Ah, yes. Everyone’s favorite whipping boy: the front end developers. I don’t think the last decade was a mistake. React (and Preact and similar) are my favorite ways to build out UIs. I prefer it to every other thing I’ve tried— and I’ve tried just about every other thing, including building native UIs for a decade.<p>It’s not perfect. I think we’ll find a better approach eventually, which is why I’m fine with the churn. The churn is part of the search for something better.<p>I hate the poor UX often produced by React— fat, slow, clunky pages with loading spinners and jank. So, I sympathize with the author. I hope something like Quik gets it’s footing.<p>But until there’s a better way to build UIs from this subjective developer’s perspective, I’m sticking with React.
评论 #33287243 未加载
评论 #33286915 未加载
评论 #33287075 未加载
评论 #33287147 未加载
评论 #33287178 未加载
kethinovover 2 years ago
I thought it was a good thread.<p>For those unaware of the missing context, what he&#x27;s talking about is how in the 2010s, progressive enhancement — long seen as a webdev best practice — was largely replaced by a JS-first approach by JS frameworks in practice.<p>It does seem like the JS-first bubble is deflating a bit, but I&#x27;m not sure it&#x27;s on its way to fully popping like the Flash bubble did. I do agree it was a lost decade though. More than a decade. I miss when everyone agreed progressive enhancement was the way to go.<p>It&#x27;s entirely possible to build a SPA without abandoning progressive enhancement, but the frameworks do not encourage those best practices. As such, it&#x27;s rare to see a web app built with a framework that doesn&#x27;t create a hard dependency on JavaScript or isn&#x27;t an accessibility disaster.<p>When I reflect on the last decade of frontend development, the lesson I draw from it is everyone is susceptible to ill-conceived fads, including people who think of themselves as evidence-driven. We&#x27;re good at convincing ourselves we&#x27;re objective, especially at times when we&#x27;re not.<p>What&#x27;s really depressing is this tendency applies to <i>all</i> the applied sciences. Tons of people who think of themselves as motivated solely by evidence fall for terrible fads in their field all the time, including, terrifyingly, in areas like medical practices.<p>I think we&#x27;d all do better to spend less time emotionally attaching to our tools and more time looking at evidence and metrics in a dispassionate way. As Paul Graham once said, keep your identities small.<p>A great book that&#x27;s vital to grokking this stuff is The Scout Mindset by Julia Galef. She argues we should always just go where the evidence leads. But our monkey brains are bad at this, so it takes a lot of conscious effort or we&#x27;ll do it poorly. I think JS framework mania is yet more evidence of her thesis.
mabboover 2 years ago
I feel the author misjudges the people making these decisions because for <i>them</i> in <i>their own</i> situation, the choice of large frameworks isn&#x27;t the right one.<p>But many smart people are in different situations in which the best decision is to use a framework.<p>If I&#x27;m Amazon or Google and each ms of time to page load (p99 and average) is measurably worth a 6+ figure sum of money per year, then yes, cutting out the framework and going very very basic is the right thing to do.<p>If I&#x27;m a startup with 3 engineers who need to iterate quickly and don&#x27;t care about page load time (yet) then I&#x27;m going to reach for React.
评论 #33287176 未加载
评论 #33293375 未加载
madeofpalkover 2 years ago
What&#x27;s the missing context for this thread? This person seems upset at something, but it&#x27;s entirely unclear what they&#x27;re actually talking about...
评论 #33287059 未加载
评论 #33287238 未加载
caspiiover 2 years ago
To add my subjective opinion:<p>I came back to frontend development after a break of 10 years. Back then there was jQuery, CSS and HTML.<p>I found that the complexity of the tooling had increased 20-fold. All these build and task runners that were cool for a year and then a new one came along.<p>Those were the costs, but what was the upside? It seems that you can do maybe 10%-20% &quot;more&quot; than back then. It seems to me that this is a very very steep price to pay.
cardanomeover 2 years ago
The problem is misaligned incentives.<p>Sure, for my personal projects I am all about KISS but at work, if someone insists we try out this new framework and build a super complicated SPA, why not?<p>People make fun of resume-driven development but besides the money which obviously is the main benefit of having a job, experience is the other big thing that a job can offer. It is in my best interest that we use the most complex solution. I like the challenge.<p>Lets be honest, most fronted jobs could be rationalized away and the products would actually be better. It depends on your exact business but in many areas there is not point in keeping your UI &quot;fresh&quot;. I have seen lots of redesigns actually HURT sales. Once you have found a design that works for you target customers, just keep riding the good thing.<p>So yeah, things are insane but as a developer it is neither in my power nor in my interest to change anything.
llamaLordover 2 years ago
As a PM, I’m used to being blamed for shit going wrong (it’s part of the JD). But c’mon… the state of modern FE development… that’s my fault too???
评论 #33287232 未加载
评论 #33287117 未加载
评论 #33296606 未加载
synuover 2 years ago
This seems to refer to some new consensus that everyone now agrees to, but I am not sure what they are referencing. Does anyone know?
评论 #33287197 未加载
pupppetover 2 years ago
Front end development won&#x27;t change. We&#x27;ll just keep switching out frameworks for the shiny new one with the hope the next one won&#x27;t be an overly complex mess of npm packages and microservices that can topple over at any moment.
skrebbelover 2 years ago
This is just good old cargo cult JS Framework Fatigue but then in a fancy “thought leader” writing style, yes?<p>Am I missing some fundamental new insight?
评论 #33287171 未加载
Existenceblinksover 2 years ago
Red flags words in web tech&#x2F;tools to me:<p>- modern<p>- revolutionary<p>- love (&quot;really really like&quot; is ok)<p>- can&#x27;t go back to &#x2F; can&#x27;t live without<p>- is the future<p>- just (describe which is not)
secondcomingover 2 years ago
&#x27;toxic positivity&#x27;<p>that&#x27;s a new one
评论 #33287037 未加载