Currently, useDeviceOrientation only tells us "landscape" or "portrait". But devices actually have four orientations, not two -- portrait up, portrait down, landscape left, and landscape right. It would be very useful if the hook could support all device orientations.
Currently,
useDeviceOrientationonly tells us "landscape" or "portrait". But devices actually have four orientations, not two -- portrait up, portrait down, landscape left, and landscape right. It would be very useful if the hook could support all device orientations.