Good article. People just jump at your throat immediately, but all you needed to get your point across was a few lines of code:
letdata=awaitfetch();
Vs
letdata;fetch().then(results=>data=results);
Whoever prefers the second way just likes to write more code, not to mention async/await code is less clunky and easier on the eyes, heck, async/await may even result on smaller minified files.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good article. People just jump at your throat immediately, but all you needed to get your point across was a few lines of code:
Vs
Whoever prefers the second way just likes to write more code, not to mention async/await code is less clunky and easier on the eyes, heck, async/await may even result on smaller minified files.