How to Stop Using Callbacks and Start Living

991 Views

Javascript has two major ways of dealing with asynchronous tasks - callbacks and Promises. In general Promises are considered easier to use and to maintain than callbacks. But in reality even Promises alone won't make you happy. Asynchronous code may still be quite difficult to read and to understand. Therefore third-party libraries, e.g.