Challenge - 5 Problems
Flipper Profiling Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ ui_behavior
intermediate2:00remaining
Identify the correct Flipper plugin for React Native performance profiling
Which Flipper plugin helps you monitor React Native app performance by showing CPU usage, memory, and network requests in real time?
Attempts:
2 left
💡 Hint
Look for the plugin that focuses on performance metrics like CPU and memory.
✗ Incorrect
The React Native Performance plugin in Flipper is designed to profile app performance, showing CPU, memory, and network usage live.
🧠 Conceptual
intermediate2:00remaining
Understanding Flipper's role in React Native development
What is the main purpose of using Flipper in React Native app development?
Attempts:
2 left
💡 Hint
Think about tools that help find and fix problems during development.
✗ Incorrect
Flipper is a debugging and profiling platform that provides visual tools to inspect React Native apps during development.
❓ lifecycle
advanced2:00remaining
When to enable Flipper in React Native apps
At which stage of React Native app development is it best to enable Flipper for profiling?
Attempts:
2 left
💡 Hint
Profiling tools help improve app performance before release.
✗ Incorrect
Flipper is mainly used during development and debugging to profile and optimize app performance before releasing to users.
🔧 Debug
advanced2:00remaining
Diagnosing a Flipper connection issue
You installed Flipper and the React Native Performance plugin, but your app does not show up in Flipper. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check your app build settings for Flipper integration.
✗ Incorrect
If Flipper does not detect the app, it is often because the app was built without enabling Flipper in the debug build configuration.
📝 Syntax
expert3:00remaining
Correct React Native Flipper setup code snippet
Which code snippet correctly enables Flipper in a React Native Android app's MainApplication.java file?
React Native
public class MainApplication extends Application implements ReactApplication { private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { @Override public boolean getUseDeveloperSupport() { return BuildConfig.DEBUG; } @Override protected List<ReactPackage> getPackages() { return Arrays.<ReactPackage>asList( new MainReactPackage(), // Add Flipper package here ); } @Override protected String getJSMainModuleName() { return "index"; } }; @Override public ReactNativeHost getReactNativeHost() { return mReactNativeHost; } }
Attempts:
2 left
💡 Hint
Flipper packages go inside the list of React packages.
✗ Incorrect
Flipper integration requires adding the FlipperPackage to the list returned by getPackages() in MainApplication.java.