Repository navigation
#588 Reading of "Getting Started" and "Services" - #590
Conversation
|
This is in regards to #588 |
|
Additionally, in "Core Concepts," the section on "Hooks" includes a section on the Component life cycle that includes code extending |
|
Also, regarding how we refer to components, we have left |
|
Thanks. Another thing is that in the "Installing Ember" page, we see, in the description of ember-cli:
I think this is outdated, as Similarly, the guide links, in the quick start, to the Ponyfoo ES6 bullet points, which do not (of course) include async or await. Since, afaict, this stuff only shows up in the testing section, maybe it's not a big deal that it's not mentioned in the getting started section. |
|
I think it should be import { computed } from '@ember/object';
// ..
@computed
get cart() {
return getOwner(this).lookup('service:shopping-cart');
}but maybe it doesn't need to be a computed property at all. |
`@action` inside of a glimmer component does not allow usage of "string based action names".
rwjblue
left a comment
There was a problem hiding this comment.
Fixup issue around lazy computed in services section.
Addresses point 3 above.
|
Once my suggestions are applied, I think this is good to go... |
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
Co-Authored-By: muziejus <[email protected]>
|
Thanks, @rwjblue |
rwjblue
left a comment
There was a problem hiding this comment.
Awesome work, thank you very much!
|
Found additional bugs in the Quickstart guide, tracked in #633 Thanks! |
I've made what I hope are corrections to the code in these two sections. However, there are a few questions:
Are components referred to as
all-rentalsor as<AllRentals />when just mentioning them in the text? In these sections, the former is used.The image in "Core Concepts" uses classic curlies when invoking the
rental-titlecomponent. IMO this is precisely where (in something aimed at newcomers) angle brackets should be used.Services looked untouched for octane? I corrected as much of the code as I could, but I don't know how to do this: