Race conditions in React and beyond. A race condition guard with TypeScript | Hacker News Reader