title: How to detect overflow of React component without ReactDOM?
body: <p>Basically i want to be able to detect if a react component has children which are overflowing. Just as in <a href="https://stackoverflow.com/a/7668692/4236924">this question</a>. I have found that the same thing is possible using ReactDOM, however <a href="https://github.com/yannickcr/eslint-plugin-react/issues/678" rel="noreferrer">i cannot/should not use ReactDOM</a>. I don't see anything on the suggested alternative,<code>ref</code>, that is equivalent. </p>
  
  <p>So what i need to know is if it is possible to detect overflow within a react component under these conditions. And to the same point, is it possible to detect width at all?</p>