What happens when one dependency of a useCallback changes?
React mutates the existing cached function with updated variables
React keeps the old function and updates its closure values
React stores and returns the new function from the current render
React re-executes all previous cached callbacks automatically