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!
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!
I help developers write better code. Developer | Author | Creator. https://juntao.substack.com/ @JuntaoQiu