When does a component become real DOM? Mounting creates the HTML representation of a component and inserts that HTML into the DOM. section 4.4
React places mounting within a broader lifecycle alongside updating, unmounting, and error handling. Its mounting phase includes an overridable constructor and other mounting methods; keep substantial component logic out of the constructor and initialize values needed later. section 4.4
Use the lifecycle comparison to orient the main phases:
- Mounting creates and inserts the component’s DOM representation. section 4.4
- Updating changes an existing component, while unmounting removes it; error handling isolates failures through React error boundaries. section 4.4


