Skip to content
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

fix: fix getters stop working when component is destroyed #1884

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

kiaking
Copy link
Member

@kiaking kiaking commented Nov 23, 2020

ref #1878 #1883

This PR temporarily fixes the issue where getters (computed) get destroyed when components get destroyed. The limitation is that with this fix, getters will get re-evaluated each time it gets accessed regardless of whether dependencies have got updated or not.

It's not an ideal fix, but we have to wait for Vue 3.1 release to fix this issue completely. Learn more at #1883.

@kiaking kiaking added bug Something isn't working 4.x labels Nov 23, 2020
@kiaking kiaking self-assigned this Nov 23, 2020
@kiaking kiaking merged commit c3a695e into 4.0 Nov 25, 2020
@kiaking kiaking deleted the no-computed-for-getters branch November 25, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant