HackerTrans
トップ新着トレンドコメント過去質問紹介求人

kybishop

no profile record

コメント

kybishop
·3 か月前·議論
Wasn't QUIC all done in the 3.x versions? Is there something in this release related to QUIC support?
kybishop
·7 年前·議論
Have you seen the ReactConf talk on hooks? [1] It's absolutely worth the watch, even if you're somewhat familiar with hooks. They go through the pitfalls of class-based components and how hooks solve them.

It more-or-less boils down to: 1. class-based components force your lifecycle logic to live in disparate locations. 2. Class-based hooks are obtuse with hidden gotchas whereas pure functions tell you exactly what they're doing. 3. A whole class of unergenomic solutions disappears when you use hooks.

[1] https://www.youtube.com/watch?v=dpw9EHDh2bM