A TypeScript-first state machine for React | Hacker News Reader