Encapsulating the two elements in a JSX fragment allows both messages to be rendered with one ReactDOM.render call:
ReactDOM.render(
<>
<HelloMessage name="Rupert" />
<HelloMessage name="Flo" />
</>,
document.getElementById('root')
);