Minimal yet scalable state pattern for reactive web apps with lit-HTML templates | Hacker News Reader