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

fix(kit): top level Proxy value inspect error cause inspection fail #701

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FoundTheWOUT
Copy link

The getSetupStateType will try to access the Proxy by some flag to judge whether the Proxy is a reactivity or not. If the getter fail, for example, the getter do function call, then the inspection would down.
By wrapping getSetupStateType in try...catch block could avoid this situation, but will still get the wrong value.
If we have a way to display the Proxy in the StateViewer properly would be impressive.

Copy link

netlify bot commented Nov 16, 2024

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit 45cbb54
🔍 Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/6738b6ca03cc140008d614d5

@FoundTheWOUT
Copy link
Author

FoundTheWOUT commented Nov 22, 2024

cc @webfansplz,would you please review this. thanks

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

Successfully merging this pull request may close these issues.

1 participant