import React from 'react'; import ReactDOM from 'react-dom'; class Preview extends React.Component { componentDidMount() { console.log(ReactDOM.findDOMNode(this)); } render() { return (