title: Get ReactJs component width after mount
body: <p>I am using react-leaflet map for showing custom map (non-geographical)
  Also, map size is dynamical and I need to calculate zoom level depending on the ratio between component and map size.</p>
  
  <p>Is there a reactJs native way to calculate loaded component size?</p>