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

perf(nuxt): unsubscribe from asyncData watch when component is unmounted #26821

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

daniluk4000
Copy link
Contributor

🔗 Linked issue

Resolves #26820

📚 Description

Fixes performance degradation inproduced in #26554

Copy link

stackblitz bot commented Apr 17, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@danielroe danielroe merged commit 468ebbd into nuxt:main Apr 17, 2024
34 checks passed
@github-actions github-actions bot mentioned this pull request Apr 17, 2024
2 tasks
@daniluk4000 daniluk4000 deleted the fix/26820 branch April 17, 2024 13:00
@daniluk4000
Copy link
Contributor Author

Can confirm original issue is fixed in latest nightly build

daniluk4000 added a commit to daniluk4000/nuxt that referenced this pull request May 2, 2024
daniluk4000 added a commit to daniluk4000/nuxt that referenced this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useAsyncData is not cleared when using defineNuxtComponent
2 participants