React · useMemo · Mid-Level · Best Practice
When is useMemo unnecessary?
Short Interview Answer
Cheap calculations; premature optimization without measured cost.
Detailed Explanation
React Compiler may memoize automatically in supporting setups—follow team guidance.