reactivity.esm-bundler.js:1024 Uncaught (in promise) RangeError: Maximum call stack size exceeded
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
vue version:3.5.12
pinia version:2.1.7
devtools version: 7.6.3
chrome version:130.0.6723.92 (not matter much)
error log:
reactivity.esm-bundler.js:1024 Uncaught (in promise) RangeError: Maximum call stack size exceeded
at MutableReactiveHandler.ownKeys (reactivity.esm-bundler.js:1024:1)
at Function.getOwnPropertySymbols (<anonymous>)
at traverse (reactivity.esm-bundler.js:1883:1)
at traverse (reactivity.esm-bundler.js:1881:1)
at traverse (reactivity.esm-bundler.js:1881:1)
at traverse (reactivity.esm-bundler.js:1881:1)
at traverse (reactivity.esm-bundler.js:1881:1)
at traverse (reactivity.esm-bundler.js:1881:1)
at traverse (reactivity.esm-bundler.js:1881:1)
at traverse (reactivity.esm-bundler.js:1881:1)
触发堆栈溢出的代码, 关闭devtools后则不会报错!
import {h, render} from 'vue';
import com from 'xxx';
function mount() {
render(h(com, {}), document.createElement('div'));
}
mount();
但是这段代码单独拿出来使用又没有问题!
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the stack overflow with Vue 3.5.12, Pinia 2.1.7, devtools 7.6.3, and the provided render(h(com, {}), ...) example. Compare the behavior with devtools disabled and inspect the recursive traverse calls in the reported reactivity stack. Done means identifying the devtools interaction that causes the recursion and confirming the error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100