|
|
|
|
|
by Rapzid
1191 days ago
|
|
On a thread a while back there was a Microsoft eng who was on a team that looked into trends with bugs. IIRC They reported that hooks were a common source of problems. Visually they look simple but they hide a lot complex and nuanced semantics. Once you start layering and composing it becomes hard to reason about when a value updates, when a re-renders will occur, and when a value even resolves(it may take many re-renders for a value you need to finally get set). |
|