0

I am learning about refs by using the React learning resources and encountered this challenge: https://react.dev/learn/referencing-values-with-refs#fix-debouncing
The provided solution uses a ref to keep a separate timeout for each button.
However, I solved it without using a ref and by moving th...