3 ms·
> See the pyramid shape and all the }) at the end? Eek! This is affectionately known as callback hell. In other words, "callback hell" is simply the state of h
by jdormit 10y ago
> See the pyramid shape and all the }) at the end? Eek! This is affectionately known as callback hell.
In other words, "callback hell" is simply the state of having too many nested inline callbacks. It makes the code uglier and for some harder to read. That's why pulling callbacks out into their own functions (i.e., making them no longer inline) fixes callback hell.