Conversation
There was a problem hiding this comment.
OnInit, OnDestroy are not implemented (nor needed for the example).
|
I think I just realised that @gkalpak already mentioned most of the typos that I mentioned on the PR. Didn't want to comment just on the comment. Sorry for spamming |
|
Thank you guys for the feedback, PTAL |
There was a problem hiding this comment.
this directives --> the directive (?)
|
One change we should make everywhere is to at least in the first sentence always mention both directives and components (even though Component is subclass of Directive) because most users won't realize this connection. Otherwise this looks quite good! |
We should have a convention that we use across the code base. Could we handle that a part of an other PR once we have decided ? |
|
@IgorMinar Thanks for the review. Most of your feeback has been implemented, I've added comments otherwise. Please let me know if that's ok. |
There was a problem hiding this comment.
the only difference between this sentence the the sentence above is the the first one says when ("after") and the other says how often ("every time"). Otherwise the sentences are the same, so that's why I think that they should be merged into one.
|
replied to your comments. wrt directive/component we can do that in a different pass/pr. |
|
PR updated, PTAL. |
|
I went over all of the first sentences for all of these hooks and I'm proposing the following changes (using code formatting to make visual diffing easier): Sorry for all the back and forth but this api is important. btw I'm not too happy with the "view" and "content" terminology used here as it's not consistent with the rest of the apis, but let's leave that for another discussion/pr. |
No problem I love feedback ;) WRT "view" and "content", I do agree. This is something that we should agree at global level & document. |
|
@IgorMinar As much as I love feedback, I hope you'll be fine with the latest version of this PR. Thanks for your suggestions, all of them have been implemented |
|
lgmt. go ahead and merge |
|
Merging PR #4357 on behalf of @IgorMinar to branch presubmit-IgorMinar-pr-4357. |
|
Merging PR #4357 on behalf of @vicb to branch presubmit-vicb-pr-4357. |
|
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. |
first commit is #4337, second commit has the doc updates