TLDR Web Dev · ARTICLES & TUTORIALS

WHY REACT RE-RENDERS

joshwcomeau.com17 min read

Summary from the TLDR Web Dev newsletter

Many developers work professionally with React for years without understanding how its re-rendering process works. This tutorial helps readers build a mental model for when and why React re-renders and how to tell why a specific component re-rendered. Knowing how React's render cycle works can help developers understand when to use React.memo and when to wrap functions in useCallback.