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