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: change teardown to use onScopeDispose #1545

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

nickmessing
Copy link
Member

This fixes #1538

⚠️ This is technically a breaking change because now the teardown happens onUnmounted instead of onBeforeUnmount, however I find it very unlikely to affect any real usecase

CC @Akryum

@Akryum Akryum force-pushed the nick/fix-apollo-in-pinia branch from 16aa328 to d6921c8 Compare March 29, 2024 08:57
@Akryum Akryum merged commit 6fa46ab into vuejs:v4 Mar 29, 2024
9 checks passed
@nickmessing nickmessing deleted the nick/fix-apollo-in-pinia branch March 29, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onBeforeUnmount hook in useQuery is undesirable when used in pinia store
2 participants