Javascript – Using closure with event arguments in typescript React
I'm trying to implement a debounce function using closure with typescript React. The problem is that it seems it's made a new reference of the function every time when I try to pass an event argument. So I think it…