I’ve just published a new blog post: https://www.chornonoh-vova.com/blog/react-performance-hooks-and-compiler
In it, I go through an example I like to use in interviews to explain useMemo
, useCallback
, and React.memo
, and then show how the React compiler can now apply all those optimizations automatically.