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 added this to To Do in v4.0.0 Nov 23, 2020
@kiaking kiaking moved this from To Do to In Progress in v4.0.0 Nov 25, 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
@kiaking kiaking moved this from In Progress to Done in v4.0.0 Jan 26, 2021
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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant