This is half-baked and needs more thought, but I often find myself wishing that I could emit a native event with a payload (like I need to “type for the user”). The handleChange
event listener is very much tied to the incoming event’s interface, so it becomes inflexible to the change I need to make.
I think a better way would be to treat even handlers as an interface adapter, always putting the change logic in a separate function.