Trigger effects based on the state not on events | Hacker News Reader