How to avoid using memoisation? | useMemo | react Interview Questions | NextRound.in