Assessments

  1. Why does the react-native-geocoder module uses Google Maps reverse geocoding services?
    1. To store a human-readable position for the location in which the map is centred
    2. To translate some coordinates into a human-readable location
    3. To add an API key in order to authenticate our app with the service
    4. To ensure the name of the location is recalculated every time the map is moved to show a different region
  2. Which of the following properties is used for aligning elements?
    1. justifyContent
    2. alignLeft
    3. alignRight
    4. alignJustify
  3. By default, React Native and Flexbox stack elements ________.
    1. Diagonally
    2. Reverse
    3. Vertically
    4. Horizontally
  4. Which of the following lines of code extracts the height and the width from a device into two variables?
    1. const {height, width} = Dimensions.get('height, ...

Get React: Cross-Platform Application Development with React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.