vuejs / vuejs/docs

About setup and the order of calls between createComponentInstance

Open
#1,335 0 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

Firstly, I' m studying vue3 and I don' t know that should my question be treated as an issues.

When I see the document about vue3, I found a problem what about Accessing Component Properties. I see it in the source code that When setup is executed, the component instance has been created.

The function createComponentInstance is called before the function setupComponent.

All the above are my personal understanding.
3LW_F92{VJ@NJ%YWR1TLB{8

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

Read the Accessing Component Properties section and trace the documented setup flow against the createComponentInstance and setupComponent calls mentioned in the issue. Determine whether the explanation needs clarification about instance creation and setup, then update the documentation only if the source behavior and wording do not align.

Written by the indexing model from the issue text.

Assessment

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.