vuereact-combined icon indicating copy to clipboard operation
vuereact-combined copied to clipboard

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

Open guyschlider opened this issue 1 year ago • 3 comments

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 avatar Oct 30 '24 14:10 guyschlider