Juntao Qiu
Jul 9, 2023

--

Thanks Christopher for pointing it out. I think you're right, I might not need it here - it's a default habit for me to wrap a function in a useCallback for avoiding recreating.

Thanks again!

--

--

Juntao Qiu
Juntao Qiu

Written by Juntao Qiu

I help developers write better code. Developer | Author | Creator. https://juntao.substack.com/ @JuntaoQiu

No responses yet