0
0
React Nativemobile~20 mins

Expo vs bare React Native - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Expo vs Bare React Native Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Expo Managed Workflow
Which statement best describes the Expo managed workflow in React Native development?
AIt allows you to write React Native apps without configuring native code, using Expo's tools and services.
BIt requires manual setup of native iOS and Android projects before coding.
CIt only supports Android development and excludes iOS.
DIt forces you to eject your app to use any third-party native modules.
Attempts:
2 left
💡 Hint
Think about which workflow hides native code complexity.
ui_behavior
intermediate
2:00remaining
Behavior Differences in Native Module Usage
You want to use a native module not supported by Expo. What happens if you try to use it in an Expo managed project without ejecting?
AThe app will fail to build or run because Expo managed workflow does not support custom native modules.
BExpo automatically converts native modules to JavaScript equivalents.
CThe app will build and run normally with the native module working.
DThe native module will work only on Android but not on iOS.
Attempts:
2 left
💡 Hint
Consider Expo's limitations on native code.
lifecycle
advanced
2:00remaining
App Lifecycle Differences
How does the app lifecycle management differ between Expo managed and bare React Native projects?
ABoth Expo managed and bare React Native apps require manual native lifecycle event handling.
BExpo managed apps handle lifecycle events internally, while bare React Native apps require manual native lifecycle handling.
CBare React Native apps have no lifecycle events, unlike Expo managed apps.
DExpo managed apps do not support lifecycle events at all.
Attempts:
2 left
💡 Hint
Think about who manages native lifecycle in each workflow.
navigation
advanced
2:00remaining
Navigation Setup Differences
Which is true about navigation setup in Expo managed vs bare React Native projects?
AExpo managed projects require manual native linking for navigation libraries.
BBare React Native projects cannot use React Navigation.
CExpo managed projects can use React Navigation without extra native linking, while bare React Native may require manual linking for some navigation dependencies.
DNavigation libraries are not supported in Expo managed projects.
Attempts:
2 left
💡 Hint
Consider how Expo handles native dependencies.
🔧 Debug
expert
3:00remaining
Debugging Build Failures in Bare React Native
You ejected from Expo to bare React Native and now your iOS build fails with a native module error. What is the most likely cause?
AExpo managed workflow does not support native modules, so this error is unrelated.
BYou must remove all native modules to build successfully.
CYou need to reinstall Expo CLI globally to fix native module errors.
DYou forgot to run 'pod install' in the ios directory after adding native modules.
Attempts:
2 left
💡 Hint
Think about native dependencies setup after ejecting.