vue icon indicating copy to clipboard operation
vue copied to clipboard

keep-alive: include/exclude components by component key attribute

Open losadaem opened this issue 6 years ago • 5 comments

What problem does this feature solve?

The include and exclude props allow components to be conditionally cached only by component name. If we want to reuse components but force replacement using the key attribute, there is no control over which components we want to keep-alive only matching components by their name.

What does the proposed API look like?

https://jsfiddle.net/9nk92wuy/

losadaem avatar Apr 15 '18 17:04 losadaem