React's useState should require a dependency array | Dark Hacker News