Can useCallback be used to memoize asynchronous functions?
Yes, useCallback can be used to memoize both synchronous and asynchronous functions. It memoizes the function reference and updates it only when one of the dependencies changes. However, it does not memoize the results of the function itself, so additional techniques like caching might be needed for result memoization.