TLDR Web Dev · ARTICLES & TUTORIALS
THE INTERACTIVE GUIDE TO RENDERING IN REACT
Summary from the TLDR Web Dev newsletter
React re-renders a component only when its state changes, triggered by an event handler that modifies the state using useState's updater function. It handles multiple updates within an event handler by batching them, applying only the result of the last invocation. StrictMode is a development mode that forces components to re-render twice to ensure purity and resilience.