Which statement about useCallback is correct?
It prevents JavaScript from creating the function during render
It skips rendering of the parent component automatically
It allows React to reuse a previously cached function when dependencies match
It memoizes every variable captured inside the callback