-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Infinite loop when using the render function and the ref parameter. #4743
Labels
Comments
Hey thanks for writing in. I was able to replicate this (https://stackblitz.com/edit/vue-g6usgy?file=src/main.js). I'm not sure why this is happening, not familiar enough with Vue internals to know what's going on with the render function. Any ideas why there is a difference here? Perhaps we can improve
Backlogging, but help is appreciated! |
AbhiPrasad
added
Meta: Help Wanted
Package: vue
Issues related to the Sentry Vue SDK
Status: Backlog
labels
Mar 23, 2022
@AbhiPrasad Hey, any update on that? Got a problem with it also. |
2 tasks
2 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/vue
SDK Version
6.18.2
Framework Version
3.2.31
Link to Sentry event
No response
Steps to Reproduce
main.js
:MyComp.vue
:After redrawing the component (
$forceUpdate
), we get the result described below in theactual result
section.The problem disappears if:
ref
param, likereturn h(MyComp)
instead ofreturn h(MyComp, { ref: myComp})
const app = createApp(App)
, App.vue:Expected Result
The application continues to work normally and the console shows this
Actual Result
The application goes into an infinite loop, and the console starts to be continually bombarded with this:
The text was updated successfully, but these errors were encountered: