Incorrect string highlighting for "undefined" in Pinia state
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
In Vue Devtools 7.7.7, when a Pinia store contains a string value "undefined", it is rendered as the actual undefined value instead of a string.
Minimal Demo:
const useTestStore = defineStore('test', {
state: () => ({
value: "undefined"
})
})
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the minimal Pinia store demo in Vue Devtools 7.7.7 and inspect where state values are rendered or highlighted. Verify that the string "undefined" remains a string while an actual undefined value is still represented as undefined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100