CodeZettaInterview Hub

Vue.js · Components · Fresh / Intern · Scenario

When do you use keep-alive?

Short Interview Answer

Cache dynamic component instances so state/scroll survive toggles.

Detailed Explanation

Include/exclude names carefully. Watch memory growth with many cached trees.

Did you know this answer?