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
docs(docs-infra): clarify toh-2 error message #45878
docs(docs-infra): clarify toh-2 error message #45878
Conversation
4340add
to
5f257c0
Compare
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.
@dario-piotrowicz thanks for the PR! I've left some comments and I also noticed that the lint
CI job is failing. Could you please take a look when you get a chance? Thank you.
@dario-piotrowicz the |
5f257c0
to
a982cfa
Compare
@AndrewKushnir, I've addressed your comments, thank you so very much for the great review 😍 |
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 wanted to use ng-container for the *ngIf here but I thought that I would not overwhelm newcomers so kept the div what do you think? is the right call?
If I understand correctly, the <div>
was already there, right? Anyway, I think it's a good idea to use a <div>
during this part of the tutorial and introduce <ng-container>
later.
Above in the tutorial we only say not to assign a value to the selectedHero, but we never directly say that its value is going to be undefined here I do however use the undefined keyword, I hope that it cannot lead to confusion?
I've added a suggestion to rephrase that section. Please let me know what you think.
Should I add a short explanation about how *ngIf works with truthy/falsy values? or is that clear?
I think it's clear and we can expend on it more if we get some feedback.
@AndrewKushnir thanks a lot again for the nice reviewing! 😄 , I've applied the suggestions 🙂 |
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.
@dario-piotrowicz thanks a lot for addressing the feedback! 👍
the second step of the tour of heroes refers to a runtime error which generally isn't presented to new users since it gets caught by the TypeScript compiler's strict mode, clarify such detail so not to confuse readers resolves angular#45759
remove callout about strict mode
renove error section entirelly
b399c97
to
190a75d
Compare
My pleasure! thanks again for the awesome reviewing! 😊 |
This PR was merged into the repository by commit b6156f4. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
the second step of the tour of heroes refers to a runtime error which
generally isn't presented to new users since it gets caught by the
TypeScript compiler's strict mode, clarify such detail so not to confuse
readers
resolves #45759
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Issue
Issue Number: #45759
What is the new behavior?
Does this PR introduce a breaking change?