-
Notifications
You must be signed in to change notification settings - Fork 3.2k
docs(react): show complete code context in the "Your First App" tutorial #4201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@joesphchang is attempting to deploy a commit to the Ionic Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that some method names from the Angular version and Vue version do not match even though they have the same code. For example, addNewToGallery
from Angular and usePhotoGallery
from Vue. Let's also sync those to match Angular as close as possible.
The same goes for the <title>
. Let's match it to Angular.
Lastly, some of the content also doesn't match each other. A good example, Angular Build Your First App mentions:
`ion-header` represents the top navigation and toolbar, with "Tab 2" as the title (there are two of them due to iOS [Collapsible Large Title](https://ionicframework.com/docs/api/title#collapsible-large-titles) support). Rename both ion-title elements to:
While React states:
`IonHeader` represents the top navigation and toolbar, with "Tab 2" as the title. Let’s rename it:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a code block that has the following comment: <!-- some filler -->
. This needs to be replaced to be the entire code. Review this PR for how it should be.
Resolves: #4164
Changes:
Update code blocks in first 5 pages of ReactPhoto App tutorial to show additional context for each step with comments to indicate new lines.