vuejs / vuejs/docs

Tiny issue with step 5 of the tutorial

Open
#2,470 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

You guys didn't explain the importance of the text variable inside <script setup>. Because of my experience with Angular, I questioned why I need to perform a two-way binding to a textbox/input. Then I realized that there was actually a variable named text above (and a

below it hehehe). And I did remember that that's how two-way binding is done in Angular as well. So it would've been nice if you point that out as complete beginner might not know how two-way binding actually works, well at least how it works on the "surface". I checked the dedicated "Form Input Bindings" documentation and it as well didn't mention the need to have a backing variable for the two-way binding, only the section about Checkbox have it.

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 step 5 of the tutorial and the Form Input Bindings documentation, especially the text input and checkbox sections. Check how the text variable relates to two-way binding and explain that backing variable for complete beginners. Done means both the tutorial and relevant form-binding guidance make the relationship clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.