Modernize the JavaScript syntax in our tutorials #2544
Labels
status: archived
Archived and locked; will not be updated
type: docs
Improvements or fixes to documentation
Milestone
In many older tutorials, we use things like
var
and.then()
that we forbid in our actual codebase. It would be more readable if the docs used a more modern syntax, especially aroundPromises
. Not only isawait
easier to read, but our use of.then()
in docs may mislead a reader into thinking that they must do the same.The text was updated successfully, but these errors were encountered: