Building an ECS in TypeScript, Dirty Component Optimization | Hacker News Reader