This tutorial is written to help beginner-intermediate React developers get more comfortable with React. It's the only “trigger” in React for a component to re-render. In React, every state change in React forces an application-wide render, but this isn't true. In this case, it sees that our paragraph has a text node that changed from 0 to 1.

13m read timeFrom joshwcomeau.com
Post cover image
Table of contents
IntroductionLink to this heading The core React loopLink to this heading It's not about the propsLink to this heading Profiling with the React DevtoolsLink to this heading Going deeperLink to this heading Bonus: Performance tips
18 Comments

Sort: