Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: