React Optimization: React.memo, useCallback, useMemo
Why do we need to optimize React components? It is needed because of how React Reconciliation updates the virtual DOM. React uses BFS algorithm to check if a node needs to be replaced in virtual DOM, where each node is an element. Now the diffing alg...
Jan 31, 20216 min read298
