by sunaurus · 2y ago · 0 comments
> What you're probably thinking is "it's faster to write a TODO example app with hooks". That's not really relevant for actual software development.
For me, that's not the case at all. I think with hooks, it's easier to reason about what values are actually used during what renders.
Hmmh. Can you provide me an example of what would've been "unclear" if the value was just state in a Class component?