サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ニコニコ動画
sebastienlorber.com
Hey 👋 Records & Tuples, a very interesting proposal, has just reached stage 2 at TC39. They bring deeply immutable data structures to JavaScript. But don’t overlook their equality properties, that are VERY interesting for React. A whole category of React bugs are related to unstable object identities: Performance: re-renders that could be avoidedBehavior: useless effect re-executions, infinite lo
With utility/atomic CSS, we acknowledge it’s ok to couple the structure and presentation layers: when we need to change the button color, we modify the HTML, not the CSS. This tight coupling is also acknowledged in modern CSS-in-JS React codebases, but it seems the CSS world figured out first that the “separation of concern” of the web didn’t feel right. Specificity is also less a problem, as we u
Many blog articles talk about loading api/async data in React apps, with componentDidMount, useEffect, Redux, Apollo… Yet, all those articles are generally optimistic, and never mention something important to consider: race conditions could happen, and your UI may end up in an inconsistent state. An image is worth a thousand words: You search for Macron, then change your mind and search for Trump,
このページを最初にブックマークしてみませんか?
『sebastienlorber.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く