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

Computed properties accumulate from previously inspected components #668

Open
MetRonnie opened this issue Oct 31, 2024 · 7 comments
Open
Labels
ecosystem With Vue Ecosystem

Comments

@MetRonnie
Copy link

MetRonnie commented Oct 31, 2024

There seems to be a bug where all the computed properties from all previously inspected components accumulate in the devtools, displaying as undefined, or old values. So you might end up selecting a component with no computed properties, and seeing this:

image

Seen on v7.6.1 of the extension, Vue v3.4.11, Chrome 130.0.6723.92, Windows 10

Edit: this seems worse than I first thought, it seems the hooks into Vue are actually causing these computed properties to get attached to components that shouldn't have them? I've started getting this warning which goes away when the extension is disabled:

[Vue warn]: Computed property "id" is already defined in Props.

@cutlerrickel
Copy link

@MetRonnie Did you figure this out?

@MetRonnie
Copy link
Author

@cutlerrickel What do you mean? This is a bug report.

@cutlerrickel
Copy link

@MetRonnie My apologies. However, I was able to eliminate this same behavior by removing vuetify. It looks like they may be causing the pollution of the computed properties. I have not been able to figure out why, though.

@MetRonnie
Copy link
Author

Interesting. I am using Vuetify 3.7.4. But I have not had this problem before with older versions of Vue devtools

@cutlerrickel
Copy link

@MetRonnie did you also upgrade Vue during that time as well? I'll keep looking into it.

@MetRonnie
Copy link
Author

I tried upgrading to the latest version of Vue but still encountered the problem

@alexzhang1030
Copy link
Member

Related #535

@alexzhang1030 alexzhang1030 added the ecosystem With Vue Ecosystem label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ecosystem With Vue Ecosystem
Projects
None yet
Development

No branches or pull requests

3 participants