React.js uses a virtual DOM, which is a lightweight representation of the actual DOM. When a component`s state or props change, React.js updates the virtual DOM first, and then updates the actual DOM with the minimal amount of changes necessary. This improves the performance of updates and re-renders.