A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/7566 below:

keep-alive doesn't call $destroy if view is actived · Issue #7566 · vuejs/vue · GitHub

Version

2.5.13

Reproduction link

https://jsfiddle.net/50wL7mdz/94716/

Steps to reproduce
  1. navigate to page-a to make keep-alive to cache page-a component
  2. navigate to page-b to make keep-alive to cache page-b component
  3. now, if remove cache of page-a, page-a was destroyed correctly,
    if navigate back to page-a and remove cache of page-b ,page-b was not destroyed
What is expected?

page-b was destroyed

What is actually happening?

page-b was was not destroyed

https://github.com/vuejs/vue/blob/dev/src/core/components/keep-alive.js#L44


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4