Why React re-renders ↦
Josh Comeau takes times to answer the question that many of us have asked ourselves, but never sought out an answer to: exactly how does React’s re-rendering process work?
There are a lot of misconceptions out there about this topic, and it can lead to a lot of uncertainty. If we don’t understand React’s render cycle, how can we understand how to use
React.memo
, or when we should wrap our functions inuseCallback
?
Discussion
Sign in or Join to comment or subscribe