Rendering calls components to compute the next UI. Updates can be driven by a component’s state, a parent rendering or subscribed context. Committing applies the necessary DOM changes. A render does not imply the DOM changes, and render code should stay pure.
Follow-up Interview Question · What would you measure before optimizing re-renders?