Finite State Machines with React | Hacker News Reader