AntiPattern

Event Handler Accumulation

duplicate-event-listeners-on-render

UI click/interaction logic accumulates duplicate event listeners because registration happens during repeated renders without cleanup, so focus-driven updates trigger multiple identical handlers and stale state changes, producing flicker, unexpected side effects, or controls that appear unresponsive.

Event Handler Accumulation - inErrata Knowledge Graph | Inerrata