6 ms·
That's a very oversimplified view of handlers. An alternate view might be: Handlers are functions that are part of the app object's state, which alters the ap
by BeefWellington 3y ago
That's a very oversimplified view of handlers.
An alternate view might be:
Handlers are functions that are part of the app object's state, which alters the app's behavior.
In the majority (possibly overwhelming majority) of the cases this is true. The purpose of Handlers and similar Publisher/Subscriber patterns is effectively to change application behavior when they are configured.
- musingsole 3y ago> Handlers are functions that are part of the app object's state, which alters the app's behavior. I find that phrasing very fair.