renderingReactRenderingMediumDuring a re-render, how does React decide what DOM to update?1It builds a new virtual DOM and diffs it against the previous one2It reloads the entire page3It replaces the whole DOM every time4It only updates inline stylesBack to list