I have a document like
var target = document.getElementById('state')
As we append another div with id="data" like
target.appendChild(document.getElementById('data'))
I want to append a component <Test /> to the target. How can I do that? Thanks in advance.
targetand use that element inReactDOM.render().