The useMemo hook is primarily used to memoize expensive function results in React, ensuring that they are only recomputed when their dependencies change.