-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Data refs that start with "use" are not visible in Vue dev tools #1971
Comments
|
So is this considered the expected behavior? I'm asking because I just started to work on a large codebase which uses the term I would suggest implementing it so that it filters refs only if a capital letter follows the |
Just had the same, building a login form. |
I tried to implement a better check using regex. Still not perfect for things like |
Wow. I've spent hours trying to understand what I'm doing wrong because some of my variables, for example |
Vue devtools version
6.4.5
Link to minimal reproduction
https://github.com/gogo-rulez/vue-devtools-bug
Steps to reproduce & screenshots
What is expected?
To see all of the refs defined in App.vue file
What is actually happening?
Only refs which do not start with "use" are visible in the devtools setup tab
System Info
Any additional comments?
We went on and downloaded the devtools source code to look for the cause.
The only thing that we could find is in this file
/packages/app-backend-vue3/src/components/data.ts
inside function
processSetupState
the startsWith method is used like so!key.startsWith('use)
this may or may not be the thing that is causing the problem
The text was updated successfully, but these errors were encountered: