0
0
React Nativemobile~5 mins

Image optimization in React Native - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is image optimization in mobile apps?
Image optimization means making images smaller in file size without losing much quality. This helps apps load faster and use less data.
Click to reveal answer
beginner
Why should you use resizeMode in React Native's Image component?
resizeMode controls how the image fits inside its container. Using it properly avoids stretching or pixelation, improving appearance and performance.
Click to reveal answer
intermediate
What is the benefit of using Image.prefetch() in React Native?
Image.prefetch() loads images into cache before they are shown. This makes images appear faster when needed, improving user experience.
Click to reveal answer
intermediate
How does using different image formats affect optimization?
Formats like WebP or HEIC offer better compression than JPEG or PNG. Using modern formats reduces file size and speeds up loading.
Click to reveal answer
beginner
What is lazy loading of images?
Lazy loading means loading images only when they are about to appear on screen. This saves memory and speeds up app start.
Click to reveal answer
Which React Native property helps control how an image fits its container?
AresizeMode
BimageStyle
Csource
DcacheControl
What does Image.prefetch() do?
ACompresses the image file
BLoads image into cache before display
CChanges image format
DRemoves image from memory
Which image format is known for better compression and smaller file size?
AJPEG
BPNG
CWebP
DBMP
What is the main advantage of lazy loading images?
ACaches all images at once
BIncreases image quality
CChanges image format
DImproves app startup speed
Which of these is NOT a good practice for image optimization?
ALoading all images at app start
BUsing modern image formats
CUsing appropriate image sizes
DPrefetching images before display
Explain how you would optimize images in a React Native app to improve performance and user experience.
Think about loading speed, memory use, and image quality.
You got /5 concepts.
    Describe the benefits of using Image.prefetch() and lazy loading in mobile apps.
    Focus on how these techniques affect app speed and resource use.
    You got /4 concepts.