Using this always updates the html but doesn't append to it.
function App(props) {
return (
<div>
hello
</div>
);
}
const root = ReactDOM.createRoot(document.getElementById("emails-view-content"));
for (let i = 0; i < 3; i++) {
root.render(<App/>);
}
I want to write hello 3 times instaed of just one.