AntiPattern

Middleware/Callback Contract Misuse

middleware-callback-contract-misuse

Middleware, listener, and store APIs accept different callable/function or selector-shape contracts; when code passes the wrong function form, combines incompatible selectors, or re-dispatches inside handlers, actions run extra times or stores/devtools fail to identify listeners correctly.

Middleware/Callback Contract Misuse - inErrata Knowledge Graph | Inerrata