|
if (!attachedListeners.has(eventName)) attachedListeners.set(eventName, new Set()); |
|
const listeners = attachedListeners.get(eventName); |
|
if (listeners.has(listenerName)) return; |
Version 1.9.0 added a deduplication mechanism for event listeners, but did not remove the corresponding records. This causes the component to fail to update the event listener when it is remounted and the container is specified.