+ 4
Callbacks vs Promise ?
What are the advantages of callbacks over Promise and vice versa. And what do you guys prefer ?
3 odpowiedzi
+ 2
https://developers.google.com/web/fundamentals/getting-started/primers/promises
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
https://spring.io/understanding/javascript-promises
if you have time, please read the above links.
They'll help you.
+ 3
Callbacks are the past and Promises are the future.
Try to code with Promises.
+ 2
Thats true sir, promises are the new trend. But i guess most of the libraries still use callbacks.
Newayz i am more interested in are there any technical or security fallbacks of callback which lead to introduction of promises ?