Let’s work through some common mistakes when using React’s useEffect, useCallback and useMemo hooks (or not using them), and also their tricky dependency arrays. We will even come up with a helpful list of rules to live by.

#react #javascript

Common React Mistakes: useEffect, useCallback and useMemo Hooks
15.20 GEEK