Fix grammatical errors and introduce app.component() in introduction.md #1388
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Problem
Line 55
There are two "the"s missing, one before the word 'counter' and another before the word "rendered".
Line 161
There is an unnecessary comma before the word "too". According to Grammarly, the comma is not needed when the word 'too' is used at the end of the sentence.
Line 223
app
in every code snippet on the page.The
app.component()
method is used out of the blueThe docs say that the way to register a component is to create a new variable and add it to the
components
option of the parent, but the next code snippet uses theapp.component()
method without any prior introduction.Line 305
There is a missing "a" before the word "more".
Proposed Solution
Line 55
Added the missing "the"s.
Line 161
Removed the unneeded comma.
Line 223
Added the two "the"s, made "objects" singular and changed the "A" in "App" to lowercase.
Line 242
Added a small code snippet detailing how to use the
app.component()
method to register a component.Line 305
Added the missing "a".
Additional Information