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

When setup returns a render function, is it possible to obtain the state of refs? #376

Open
jeffwcx opened this issue May 9, 2024 · 1 comment · May be fixed by #450
Open

When setup returns a render function, is it possible to obtain the state of refs? #376

jeffwcx opened this issue May 9, 2024 · 1 comment · May be fixed by #450
Labels
devtools api scope: devtools-api package enhancement New feature or request

Comments

@jeffwcx
Copy link

jeffwcx commented May 9, 2024

vue-devtools has had this issue for a long time devtools #1295. I want to know if this problem still exists in devtools-next? I just tested it in a project, and it seems that when returning JSX in setup, it's still not possible to get the state of refs.

@alexzhang1030 alexzhang1030 added the enhancement New feature or request label May 10, 2024
@alexzhang1030
Copy link
Member

vuejs/core#5383

This PR presents a sensible solution for our current stage. We will consider integrating it into devtools-next once we have resolved some ongoing issues or identified other viable alternatives.

@alexzhang1030 alexzhang1030 linked a pull request Jun 16, 2024 that will close this issue
@alexzhang1030 alexzhang1030 added plugin api scope: devtools plugin api devtools api scope: devtools-api package and removed plugin api scope: devtools plugin api in plan labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devtools api scope: devtools-api package enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants