Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Add a section on promises to the JS primer #2264

Open
jenweber opened this issue Mar 8, 2018 · 1 comment
Open

Add a section on promises to the JS primer #2264

jenweber opened this issue Mar 8, 2018 · 1 comment

Comments

@jenweber
Copy link
Contributor

jenweber commented Mar 8, 2018

https://guides.emberjs.com/v3.0.0/getting-started/js-primer/

Promises are an important part of Ember, but they aren't a "beginner" JS concept. We need to add a section that explains how to use them in the context of Ember. You can't get too in the weeds - a dev needs to do their own research into JS basics - but we can't just assume that people will catch on quickly. The explanation should be similar in length to other sections (like let vs var) and include a code sample, such as a createRecord/save and then.

Contributors tackling this should expect some iteration after making a PR. It's a tough balance to strike.

Note, this issue is set aside for the EmberConf contributors workshop on 3/12. If it's not claimed by the end of that day, feel free to grab it!

@karan-pathak
Copy link
Contributor

Hi @jenweber, here's the first draft #2317. I would love to know your thoughts on it :)

toddjordan pushed a commit that referenced this issue Apr 20, 2018
* draft for promises

* resolve spell error in build

* #2264 change in promise chain example and add explanation for it

* Some grammar, capitalization, and simplifications
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants