Return Memoized Value
Reuse computed values with the useMemo Hook for performance optimization. It calls a specific function only when given values change, not on every render.
Efficient when values change frequently but calculations are expensive and only need to be updated when specific options change.

Seonglae Cho