Skip to content

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
@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