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

ReportingObserver [deprecation]: Unload event listeners are deprecated and will be removed #27154

Open
sts-ryan-holton opened this issue May 10, 2024 · 2 comments

Comments

@sts-ryan-holton
Copy link

Environment

Production

Reproduction

I'm getting deprecation warnings about the unload event listeners. Upon further investigation it seems that there's an unload event listener triggered on each page when looking at the inspecter in Chrome

Describe the bug

Nuxt JS is throwing core code deprecation warnings:

ReportingObserver [deprecation]: Unload event listeners are deprecated and will be removed

I think this might be something related to core code that may need to be addressed as this is going to be fully deprecated at Q4 2024,.

Additional context

Screenshot 2024-05-10 at 16 58 47
Screenshot 2024-05-10 at 16 58 39

Logs

No response

@JoshuaRobertson
Copy link

I'm also interested to know if this is something that will affect my Nuxt JS 2 projects. How important is the unload event in this context?

I haven't found a discussion about this but open to starting one if there are others looking for guidance and reassurance.

@danielroe
Copy link
Member

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.

If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.

If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏

Thank you for your understanding and for your contribution to Nuxt. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants