react-hook-dimensions (npm): React Hook to get DOM Element `BoundingClientRect` together with the `page offset` snapshot, that covers all your needs. What makes the package different - You can trigger an update when you really need it.
Keywords: react|hook|react-hook|use-dimensions|client-rect|scroll|dimensions|measure|size|responsive-components|control|multiple|performance|typescript