Question · Vue.js course · Module 8: Slots & Dynamic Components
KeepAlive include
How do you limit KeepAlive to only selected components?
Answer options
- <KeepAlive :include="['TabA', 'TabB']">
- <KeepAlive :only="['TabA', 'TabB']">
- <KeepAlive :filter="['TabA', 'TabB']">
- <KeepAlive :cache="['TabA', 'TabB']">
You can check the correct answer by solving this task in the CodeWorlds game.