use-device-pixel-ratio (npm): React hook for finding device pixel ratio (DPR), optionally capping/rounding
Keywords: react|hook|dpr|dpi|pixel