Bird
0
0

Which Angular feature must be enabled to support hydration?

easy📝 Conceptual Q2 of 15
Angular - Server-Side Rendering
Which Angular feature must be enabled to support hydration?
AChange detection strategy OnPush
BLazy loading modules
CServer-side rendering (SSR)
DAngular animations
Step-by-Step Solution
Solution:
  1. Step 1: Identify hydration dependency

    Hydration requires server-rendered HTML, which comes from server-side rendering (SSR).
  2. Step 2: Evaluate other options

    Lazy loading, change detection, and animations do not enable hydration.
  3. Final Answer:

    Server-side rendering (SSR) -> Option C
  4. Quick Check:

    Hydration requires SSR = True [OK]
Quick Trick: Hydration needs SSR to work properly [OK]
Common Mistakes:
  • Confusing lazy loading with hydration
  • Thinking animations enable hydration
  • Assuming change detection strategy affects hydration

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes