useCallback vs useMemo
What is the difference between useCallBack and useMemo? And why do useMemo and useCallback expect a function? If you’ve worked with React…