3 ms·
I use `useCallback` all over the place. I don't do it because I'm worried about performance. I do it because I'm worried about invalidating some dependency arra
by jbaudanza 7y ago
I use `useCallback` all over the place. I don't do it because I'm worried about performance. I do it because I'm worried about invalidating some dependency array somewhere down the tree.
Am I falling into speakers pitfall? I definitely agree with him that this creates a lot of unnecessary complexity.