-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Description
Vue devtools version
6.4.5
Link to minimal reproduction
https://github.com/gogo-rulez/vue-devtools-bug
Steps to reproduce & screenshots
- npm install
- npm run dev
- open in browser
- open vue devtools
- the refs starting with "use" are not listed in the setup tab of App.vue
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
System:
OS: Windows 10 10.0.22000
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
Memory: 1.90 GB / 15.73 GB
Binaries:
Node: 16.15.0 - ~\nvm\nodejs\bin\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.2 - ~\nvm\nodejs\bin\npm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (106.0.1370.47)
Internet Explorer: 11.0.22000.120Any 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
jhuber-de, adrianrudnik, frisia-mtz, txreplay, luongthongfn and 2 more
Metadata
Metadata
Assignees
Labels
No labels