Binds an operation to a UI callback in one step: map turns the component's callback
arguments into the operation's input. The handler identity is stable across renders (the
mapper and options read through refs), so it replaces per-handler useCallback boilerplate.
Binds an operation to a UI callback in one step:
mapturns the component's callback arguments into the operation's input. The handler identity is stable across renders (the mapper and options read through refs), so it replaces per-handleruseCallbackboilerplate.