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

getting Maximum call stack size exceeded of querySelector when React is being destructed #31

Open
guyschlider opened this issue Oct 30, 2024 · 3 comments

Comments

@guyschlider
Copy link

Hi,

Wonder if anybody got a clue or idea, why when a Vue component is rendering a React component with applyReactInVue - when navigating away from the page, in the beforeDestroy of applyReactInVue we get an infinite loop of Maximum call stack size exceeded:

Uncaught RangeError: Maximum call stack size exceeded
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56360)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)
at Object.keys.forEach.q.forEach.window.. [as querySelector] (chunk-vendors.cbee584d.js:107:56556)

@guyschlider
Copy link
Author

Did some research,
looks like maybe
gloriasoft/veaury@5e2b320
is related?

@devilwjp
Copy link
Collaborator

@guyschlider It seems to be the same issue and will be fixed in the near future.

@guyschlider
Copy link
Author

I can confirm it is the same issue and forking and updating those methods solve it

Thanks so much for your great work :)

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

No branches or pull requests

2 participants