The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Get the Dimensions of a React Native Phone Screen

Get the Dimensions of a React Native Phone Screen

1:10
In this lesson we'll use Dimensions to get the width and height of the screen. Also we'll use onLayout to detect orientation changes.
Watch this lesson now
Avatar
egghead.io

In this lesson we'll use Dimensions to get the width and height of the screen. Also we'll use onLayout to detect orientation changes.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?