When a component's props or state change, React decides whether an actual DOM update is needed by comparing the newly returned element with the previously rendered one. When they are not equal, React updates the DOM. This process is called reconciliation .
Comments
To leave a comment
If you have any suggestion, idea, thanks or comment,
feel free to write. We really value feedback and are glad to hear your opinion.
Comments