-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Revert "cache
option for computed properties."
#728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@kazupon Since |
@frankdiox There are no plans to remove it in 2.x, but it will very likely be gone in v3 (whenever that might be). Please feel free to share more information about your use case though. Plans for the API do often change after learning more about how people are using specific features. |
@frankdiox |
@chrisvfritz @kazupon Thanks a lot! There are workarounds for my case so I guess I have some CustomElements (sliding menu, switch, etc.) that have methods and properties. The properties can be modified programatically by the user in some cases or just by interacting with the element with clicks or drag (e.g. By the way, great job with Vue.js and its API guys, it's awesome :) |
This reverts commit 9f5753c. ref: vuejs/v2.vuejs.org#728
ref: vuejs#728 related: 722
* add cache option deprecated section ref: #728 related: 722 * Slight tweak to cache: false deprecation warning
* vuejs.org-master: update instructions about where to open the javascript console Fix bug in store pattern example (vuejs#732) add cache option deprecated section (vuejs#731) Warn about modifying instance in hooks (vuejs#723) Revert "`cache` option for computed properties." (vuejs#728) update updated lifecycle hook description fix fuzzy matching when match already exists Update smooth-scroll.js (vuejs#726) # Conflicts: # src/v2/api/index.md # src/v2/guide/index.md # src/v2/guide/instance.md # src/v2/guide/migration.md # themes/vue/source/js/common.js # themes/vue/source/js/smooth-scroll.min.js
@frankdiox
From #722
We merged at #722, but I'll revert it due to not support
cache: false
for Vue 2 or later.We can realize same as
cache: false
with methods.For this reasons,
cache: false
explanation intentionally was removed it from Vue 2 docs./cc @yyx990803 @chrisvfritz
Please comment if you have something unsatisfactory.