-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
bug: maximum call stack #605
Comments
I'm having the same issue but couldn't create a minimal reproduction. However, I’ve noticed a few things:
|
Thanks for the feedback, could you also use https://github.com/soc221b/pinia-plugin-persistedstate-2? |
I can not reproduce it, can you provide a mini repo? thanks. |
I'm using https://github.com/prazdevs/pinia-plugin-persistedstate, but I tested without it as well, and the issue still persists. |
Can you provide a mini repo? Thanks 🙏. |
I'm not sure if it related to vue, can someone upgrade to vue 3.5.5 and try again? |
I´ve just tried it and the issue is still happening. |
Can you help to provide a mini repo? 🙏 |
@twisterniq @JeanFranz73 Could someone fork it and add some details closer to your product? https://stackblitz.com/edit/vitejs-vite-uiu4uu?file=src%2Fcomponents%2FHelloWorld.vue |
I tried to create a minimal reproduction, but at this point I still don't know what exactly is causing the issue. I'll try to do some more tests when I have more time. |
Can you provide a mini repo or share the repo to help we reproduce this issue? thanks 🙏 |
We are experiencing the same issue with our app Also using:
Not sure if it helps but sometimes I get another stack trace. |
I can not reproduce it. Can you help to provide a mini repo 🙏? |
This is also happening with latest Vue 3.5.10 Using also
Not using pinia persisted state. Not sure if this helps, but some of the stack traces were leading to setTimeouts. We have simple timeouts to mock API response lag when not developing against a real backend: // This is just for dev purposes to simulate loading delay.
function delay(ms: number): Promise<void> {
return new Promise<void>((resolve, reject) => {
if (typeof ms !== 'number' || ms < 0) {
reject(new Error('Delay must be a non-negative number.'))
} else {
setTimeout(resolve, ms)
}
})
}
...
const returnMockData = async () => {
await delay(500)
return [<mock data array>]
} Sorry, don't have time to build mini repo atm. |
Haven't had time creating a mini repo yet. Also not sure what is causing it yet. Will try to create one as soon as I have more time. And know how to reproduce it. |
we do have a problem because of wobsoriano/pinia-shared-state#38 ? |
If anyone is still experiencing this issue, any feedback and mini repo would be greatly appreciated. 🙏 |
I've tried in many different ways to reproduce the same error in another repo but I simply can't replicate the same behaviour. Can't share the project either because it's a private project from another company. Here' the dependencies if someone has similar:
Some details of the environment if it could help:
The project also uses websockets, which maybe can affect in some way? The error starts specifically when open the panel for the first time in the instance of the tab, and then piles up each time the mouse moves in different parts of this panel, like pinia, components, routes etc If someone who has the same problem have dependendencies or another thing in common, post here, hope this helps |
Try to fix it in v7.5.3 (vite plugin) and browser extension v7 beta.11 (pending review), if this issue has been resolved in the latest version, please let me know, thanks 🙏 |
I am not getting the issue after updating to 7.5.3 so at least for my case the fix seems to work fine. Thank you very much @webfansplz |
It's fixed! TYSM @webfansplz! |
It is fixed for me too. Thanks @webfansplz! |
Does not work without downgrading to vue 3.4.38 for us still. For those who got this fixed, can you post your versions of vue and pinia? |
Hi, what’s your devtools version? |
I tried vite plugin 7.5.3 and chrome extension 7 beta 11 |
I can't reproduce it. Could you provide a mini repo? Thanks. 🙏 |
For me it stays the same as above, pinia 2.2.4 and vue 3.5.12. Now working fine on Bun |
could be due to async persistedstate: https://github.com/soc221b/pinia-plugin-persistedstate-2
vue 5.5.3
devtools latest
The text was updated successfully, but these errors were encountered: