What happens if you don't provide a dependency array to useMemo?
If you don't provide a dependency array to useMemo, the memoized value will be recalculated on every render, effectively negating the purpose of memoization. It's similar to calling the function directly without useMemo. To properly use useMemo, you should always provide a dependency array that includes all values from the component scope that are used in the computation.