What is the main benefit of memoizing callback functions using useCallback?
Memoizing callback functions using useCallback prevents unnecessary re-renders, thus optimizing performance by ensuring that functions are only recreated when their dependencies change.