Recall & Review
beginner
What is an Expo module in React Native?
An Expo module is a reusable package that adds native functionality to a React Native app using Expo. It helps you access device features like camera, sensors, or notifications easily.
Click to reveal answer
beginner
How do Expo modules simplify mobile app development?
Expo modules provide pre-built native code wrapped in JavaScript, so you don’t have to write native code yourself. This saves time and reduces complexity when adding device features.
Click to reveal answer
beginner
Name two common Expo modules and their purpose.
1. expo-camera: lets you take photos and record videos. 2. expo-location: provides access to the device’s GPS location.
Click to reveal answer
beginner
How do you install an Expo module in your React Native project?
Use the command `expo install ` in your project folder. This ensures you get the right version compatible with your Expo SDK.
Click to reveal answer
intermediate
What is the difference between managed and bare workflows in Expo regarding modules?
In managed workflow, Expo handles native code and modules for you, making it easier but less flexible. In bare workflow, you control native code and can add custom native modules.
Click to reveal answer
Which command installs an Expo module correctly?
✗ Incorrect
Use `expo install ` to install Expo modules with the right version.
What does the expo-location module provide?
✗ Incorrect
expo-location gives your app access to the device's GPS location.
In which Expo workflow do you manage native code yourself?
✗ Incorrect
Bare workflow lets you control native code and add custom native modules.
Why use Expo modules instead of writing native code directly?
✗ Incorrect
Expo modules wrap native code so you can use device features easily in JavaScript.
Which of these is NOT an Expo module?
✗ Incorrect
react-native-sensors is a third-party library, not an official Expo module.
Explain what Expo modules are and how they help in React Native app development.
Think about how Expo modules act like ready-made tools for device features.
You got /3 concepts.
Describe the difference between managed and bare workflows in Expo regarding module usage.
Consider who controls the native code in each workflow.
You got /3 concepts.