addEventListener discards duplicates
8 points by abareplace
8 points by abareplace
Would be fun to see data about how many people actually use removeEventListener.
I’d assume not many these days, given once and signal cover most of the cases where you’d want to remove a listener.
I used to use it a lot but also it was always super annoying to use since you can't pass an inline function anymore once you need it. Always made me grumpy