title: How to get the width of a react element
body: <p>Im trying to create a range input that displays a tooltip right above the slider thumb.</p>
  
  <p>I went through some vanilla JS examples online and it seems that I need to have the width of the element to acomplish that.</p>
  
  <p>So I was just wondering how to get the elements width?</p>
  
  <p>Pretty much the equivalent of the JQuery method <code>$(element).width()</code></p>