Which is created first: the Real DOM or the virtual DOM?

When a React app is rendered for the first time, is the real DOM or the virtual DOM created first?

React with JSX is converted to React.createElement(). So, does virtual DOM creation start from here and then, based on virtual DOM, the real DOM is generated?