Vue: 2.0 component keepAlive option removal

Created on 19 May 2016  Â·  4Comments  Â·  Source: vuejs/vue

Hi:
Appears 2.0 will not have "keep-alive" option for dynamic component usage
but will be part of router function.
What if I do not use router but need this function, which is useful for carouseling
different widgets.

Thanks.

discussion

Most helpful comment

keep-alive is now implemented for 2.0 ;)

All 4 comments

I hope this will be implemented. Please :) All my projects rely on keep-alive 👻

+1
keep-alive is really useful, I hope it supports the same component constructor.

Thanks!

I wrote a ListView component that removes invisible items in a list when scrollling, and I depends on keep-alive to avoid re-initializing the items' components when they come into view. So I hope we can keep keep-alive in 2.0.
demo: http://catchlabs.github.io/vue-list-view/

keep-alive is now implemented for 2.0 ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wufeng87 picture wufeng87  Â·  3Comments

lmnsg picture lmnsg  Â·  3Comments

franciscolourenco picture franciscolourenco  Â·  3Comments

bdedardel picture bdedardel  Â·  3Comments

paulpflug picture paulpflug  Â·  3Comments