Bird
0
0

Why does Remix Image optimization prefer explicit width and height props on images?

hard📝 Conceptual Q10 of 15
Remix - Performance
Why does Remix Image optimization prefer explicit width and height props on images?
ATo automatically add alt text for accessibility
BTo force images to always load at full original size
CTo reserve layout space and prevent page content shifting
DTo disable browser caching of images
Step-by-Step Solution
Solution:
  1. Step 1: Understand layout shift problem

    Without width and height, images load and shift page content unexpectedly.
  2. Step 2: Role of explicit dimensions

    Providing width and height reserves space, improving user experience and visual stability.
  3. Final Answer:

    To reserve layout space and prevent page content shifting -> Option C
  4. Quick Check:

    Width/height prevent layout shift [OK]
Quick Trick: Set width/height to avoid layout jumps [OK]
Common Mistakes:
MISTAKES
  • Thinking it forces full size load
  • Assuming it disables caching
  • Confusing with alt text generation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Remix Quizzes