See the full documentation of `useDimensions()` at the 
[Official Webrix Documentation Site](https://webrix.amdocs.com/docs/hooks/useDimensions)