Subscribe on changes!

keep-alive component shared cache

avatar
Sep 5th 2022

What problem does this feature solve?

with the shard cache, we could pop the page to a window like component (or vise versa) without loose any infomation. otherwise one KeepAlive component only keeps its own vnodes

What does the proposed API look like?

just add a prop indicates KeepAlive component uses shared/local cache

avatar
Sep 10th 2022

Duplicate of https://github.com/vuejs/core/pull/4339 and the linked RFC