I have a HTML page, and I am inserting inside as a component a Reactjs. I am reading the DOM with JavaScript vanilla and I want to insert it on this new react script.
<HTML>
<div id="element">the value I want</div>
<div id="root"></div>
</HTML>
The div id "root" is where the react was inserted I want to play with the "value" from the DOM, but inside of React
Can I do it? How