Bird
0
0

Which Angular preloading strategy allows you to define custom logic to decide which modules to preload?

easy📝 Conceptual Q2 of 15
Angular - Performance Optimization
Which Angular preloading strategy allows you to define custom logic to decide which modules to preload?
ANoPreloading
BPreloadAllModules
CCustom preloading strategy
DEager loading
Step-by-Step Solution
Solution:
  1. Step 1: Identify preloading strategies

    NoPreloading disables preloading, PreloadAllModules preloads all, eager loading is not a strategy but a loading type.
  2. Step 2: Recognize custom strategy

    Custom preloading strategy lets you write your own logic to decide which modules to preload.
  3. Final Answer:

    Custom preloading strategy -> Option C
  4. Quick Check:

    Custom strategy = User-defined preload logic [OK]
Quick Trick: Custom strategy lets you control module preloading [OK]
Common Mistakes:
  • Confusing NoPreloading with custom logic
  • Thinking eager loading is a preloading strategy
  • Assuming PreloadAllModules is customizable

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes