vuejs / vuejs/docs

Clarify the cases using number, bigint or symbol as key

Open
#698 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
3.2k
Forks
5k
Avg merge
14d 17h
Merged PRs (30d)
1

Description

Vue 2 doc had add symbol for key api in version 2.5.12

In Vue 3 doc, key is still number | string.

  1. Is symbol deprecated? Or just not implement yet?
  2. Will bigint be supported?
  3. Is 1 treated as same key to "1"? Whether is or not, is it intended?

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 with the Vue 3 key API documentation and verify the documented behavior for symbol and bigint keys, including whether number and string keys are equivalent. Review the relevant Vue 3 implementation behavior before deciding what the documentation should state. Done means the documentation clearly answers all three questions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 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.