You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Data access from constructor in Getting Started guide #32048
I have noticed that ShippingComponent and CartComponent components access data from within the constructor and not using the recommended ngOnInit lifecycle event. Is this something that you are aware of (like keep it simple for the sake of a Getting started guide) or should it be fixed? In the latter case, I would be happy to submit a PR for that 😃
You're absolutely right, @bampakoa! If you'd like to submit a PR that'd be great. I could help you through the review process and collaborate if you like.
Doing it the way we should is simple enough that a newcomer should be able to follow.
Yes, @bampakoa, the Angular Documentation Style Guide is what we use for angular.io specific style. When it comes to language use, the Google Developer Documentation Style Guide is our main resource. In case you haven't memorized either of those (yet! 🌟) I can help you on any of those kinds of style choices. Feel free to tag me here, in your PR, or reach out on twitter or gitter. Thanks a lot, this is great! 🌺
Activity
kapunahelewong commentedon Aug 13, 2019
You're absolutely right, @bampakoa! If you'd like to submit a PR that'd be great. I could help you through the review process and collaborate if you like.
Doing it the way we should is simple enough that a newcomer should be able to follow.
bampakoa commentedon Aug 13, 2019
@kapunahelewong thanks for your feedback. I would ❤️ to submit a PR 😃 . Should I follow the Angular Documentation Style Guide for this?
kapunahelewong commentedon Aug 14, 2019
Yes, @bampakoa, the Angular Documentation Style Guide is what we use for angular.io specific style. When it comes to language use, the Google Developer Documentation Style Guide is our main resource. In case you haven't memorized either of those (yet! 🌟) I can help you on any of those kinds of style choices. Feel free to tag me here, in your PR, or reach out on twitter or gitter. Thanks a lot, this is great! 🌺
docs: Use ngOnInit to fetch data from services in the getting started…
docs: Use ngOnInit to fetch data from services in the getting started…
angular-automatic-lock-bot commentedon Sep 27, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.