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.

Optimizing React Apps in Practice

70 pointsby alexwolfealmost 8 years ago

3 comments

regecksalmost 8 years ago
A few choice websites have definitely colored my view of React (e.g. Airbnb, multi-second delay clicking onto a form text field on current generation Android and iPhone? I hope they see some of the techniques in this article).<p>It&#x27;s hard to know if this is due to the way the article is written but it seems like you&#x27;re sacrificing both developer ergonomics and runtime performance in this situation. I am curious to hear about similar scenarios in competing frameworks like Vue.
评论 #15041790 未加载
评论 #15041821 未加载
评论 #15042780 未加载
azundoalmost 8 years ago
I can&#x27;t recommend reselect enough if you&#x27;re using redux. Not only does it save time when computing derived data from your reducer state it also isolates your components from the structure of your reducer state. Change the location of some data in your reducer? No problem, just adjust your selector in one place and none of your components need changing.
tarr11almost 8 years ago
React really should be able to detect object literals in style components and optimize those away into a const under the hood. Hopefully this is fixed in a future version.
评论 #15043254 未加载
评论 #15042260 未加载