vuejs / vuejs/devtools

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

Open
#376 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

devtools api enhancement
Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported case in a project using devtools-next: return JSX or a render function from setup and inspect whether ref state is available in Vue Devtools. Compare the behavior with the linked devtools #1295 issue; done means the ref state is obtainable or the remaining limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.