Hacker News new | ask | show | jobs
by Lutger 1512 days ago
From the blog you posted:

> In most cases, this is the best way to handle *state that needs to be reset*

You are talking about updating state, react author is talking about resetting. That's a big difference.