An explanation of the internal implementation of React's useState hook | Dark Hacker News