-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Improve the display text on computed values that are not accessed. #535
Comments
This is a vue design pattern. Computers are lazy, we will never know its value until somewhere access |
We can improve the display text on computed values that are not accessed. |
Is it possible to provide a feature in devtools that actively triggers the computation of these values? |
I would not recommend doing it. Access value will make devtools the computed values' dependency, which will mess up the reactivity system and introduce some perf issues. In the future, we might make this as a devtools plugin. |
I encountered an issue where a computed property shows as undefined in the Vue Devtools when it's not used in the template. This behavior is confusing and can make debugging more difficult.
Preview: https://stackblitz.com/edit/vitejs-vite-md6fq8?file=src%2Fcomponents%2FHelloWorld.vue
The text was updated successfully, but these errors were encountered: