Message from JavaScript discussions

May 2018

β€” Type it already pretified🀀 maybe


Do we still use promises and generators with javascript?
or async and await with typescript is just fine?

β€” Or are there some scenarios where we have to use promises and generators only?

β€” I use promises and generators frequently

β€” But not usually together

β€” Any good reason to choose them over async and await?

β€” Async / await IS promises though :P

β€” Or thenables I guess

β€” It's just syntactic sugar, like generators

β€” With easy syntax

β€” Uuuh, generators don't replace async / await

β€” Exactly