fix: devtools along `deep: false` in `useAsyncData` lead to performance issues in dev
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 214
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 18
Description
🐛 The bug
See https://github.com/nuxt/nuxt/issues/25901 for context
🛠️ To reproduce
🌈 Expected behavior
The performance between enabled and disabled devtools shouldn't diverge as much
ℹ️ Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked StackBlitz reproduction, especially store/trueShallow.ts, store/asyncDataShallow.ts, pages/asyncDataShallow.vue, pages/trueShallow.vue, app.vue, and pages/index.vue. Compare performance with devtools enabled and disabled around useAsyncData with deep: false; done means the development-mode performance gap is reduced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100