Angular · Senior · Question 73 of 75
What does @defer (hydrate on interaction) do with incremental hydration?
- ✓Correct answer: The block is server-rendered, and its code is loaded and hydrated only when the user interacts with it
- 2The block is rendered only on the client
- 3The block is hydrated twice
Explanation
Users see the content immediately while the JavaScript cost is postponed. Event replay keeps the interaction that triggered hydration.