During reconciliation, how does React decide if a component should be updated, replaced, or left unchanged?
By comparing props only
By checking the component's state
By comparing old and new virtual DOM using keys and element types
By using the real DOM
This question is part of this quiz :
Working of React