<div ref={el = this.TestElement = el } style={{...}}><h1>xxx</h1></div>
const testElementHtml = this.TestElement.parentNode.innerHTML
const testElementClone = this.TestElement.cloneNode(true)
const wrap = document.createElement('div')
wrap.appendChild(testElementClone)
const testElementHtml = wrap.innerHTML