If you omit the dependencies array in useCallback, the function will always be memoized, meaning it won't change between renders.