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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Progressive React

147 点作者 brandonhall超过 5 年前

11 条评论

mhd超过 5 年前
&quot;Performance advocate&quot; is a thing now? Things like that or &quot;growth hacker&quot; make me long for the peaceful days of &quot;ruby rockstars&quot; and &quot;javascript ninjas&quot;...<p>Never mind the fact that we&#x27;re plowing the depths of functional programming, complex data structures and asynchronous wizardry just to make sure that displaying a few bytes of text and flat-shaded borders isn&#x27;t too slow.<p>I don&#x27;t remember GUI programming being that hard in the years before this. At least for these rather simple results. Getting a full DTP platform out on a 20 mhz machine with 4 MB of RAM required some advanced pattern wizardry, but most web UI patterns aren&#x27;t that complicated. They just aren&#x27;t helped by the client-server nature and Javascript being Javascript, as much as you wrap it up in the Emperor&#x27;s new C# clothes.<p>&gt; Sites have become bigger, more interactive and more complex and this number is still gradually increasing in an upward trend year after year.<p>Yeah, but is it useful complexity? The whole frontend scene often reeks of &quot;bullshit job&quot; syndrome. To get results customers could live without in a framework not re ally suited for it, we&#x27;re developing complex tools, even more complex tools to package and deploy them and then have more coaches, trainers, video walkthrough creators and premature optimization providers than ever before.
ahartmetz超过 5 年前
It&#x27;s funny because scrolling in this article is a stuttery mess (Firefox on Linux).
评论 #21848795 未加载
评论 #21849280 未加载
评论 #21850747 未加载
评论 #21850827 未加载
评论 #21848657 未加载
评论 #21854071 未加载
评论 #21848937 未加载
评论 #21848833 未加载
评论 #21848664 未加载
评论 #21850693 未加载
评论 #21853185 未加载
adatavizguy超过 5 年前
As someone who has web apps in production written in backbone.js, Angular, and React, I can say selectors with Reselect to transform all the data being passed into props, Sagas to manage all async workflows, and Ramda with Redux reducers is pure fire. There is no business logic in components or containers unless it is tied directly to the view and layout, not for the data. It is such an easy way to reason about huge amounts of data coming into the system from lots of different places. For performance, everything gets memoized based on object references. Using the immutable data structures in the store, Reselect keeps the transformed data cached with memoization until the object reference is changed in the store.
评论 #21849884 未加载
评论 #21849390 未加载
评论 #21849886 未加载
评论 #21849449 未加载
评论 #21850175 未加载
评论 #21849908 未加载
评论 #21851081 未加载
timw4mail超过 5 年前
The more I deal with it, the more I hate React, and the very idea that websites must require Javascript to just show HTML.
评论 #21848651 未加载
评论 #21849026 未加载
评论 #21850878 未加载
singlow超过 5 年前
Start by making your blog not crash android chrome.
评论 #21848519 未加载
评论 #21849048 未加载
5Qn8mNbc2FNCiVV超过 5 年前
Visiting that page on the Pixel 3aXL and it literally crashed while scrolling. I&#x27;ve never had that happen once in the last few years. Damn.
duxup超过 5 年前
Is that site crashing anyone else&#x27;s browser?<p>I&#x27;m using chrome on Android and it kills my browser every time.
评论 #21849203 未加载
jingw222超过 5 年前
So progressive that the minute I open the page, it crashes. Have no idea why that is.
ggregoire超过 5 年前
Great write up, going deep into the topic.<p>This comments section tho.
qbaqbaqba超过 5 年前
Crashes mobile Chrome.
seph-reed超过 5 年前
I know this is a low quality comment, but given I was once the guy at my last company who&#x27;s job it was to make React do things it didn&#x27;t want to, I really dislike React. It&#x27;s a dead end for interactive UIs, and the closer you can stay to native html elements with encapsulation, the better off you&#x27;ll be later down the road.
评论 #21848540 未加载
评论 #21849524 未加载
评论 #21848508 未加载