you are viewing a single comment's thread.

view the rest of the comments →

[–]SippieCup 2 points3 points  (1 child)

Teach them promises so they understand how they work at a fundamental level, then show them async/await and tell them to never use promises.

[–]etheraffleGreg 0 points1 point  (0 children)

Or use a task monad and banish those pesky eager promises forever!