Passing Values Through Callback Hell

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Callback Hell is made up of nested functions. If we compose our functions instead of nesting them, we need to remember to pass values down to the next API that takes a callback. We can do this by setting up a "mapping" behavior in our outer/inner relationship so that the value from the outer can be used to create the broadcaster of the inner.

Congrats on finishing Section 01: Introduction to Callbacks, Broadcasters, and Listeners!πŸŽ‰πŸŽ‰

πŸ‘‰ CLICK HERE to continue to the next section, Establish Callback and Closure patterns Around Async Browser Behaviors. πŸ‘ˆ