Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Callback is facility to save a piece of code so that it may be invoked later in the current environment (Typically in response to an event)

Callback is a piece of code that is stored or registered in a higher layer or a different object such that the piece of code being stored has access to the information available in the current context. The registrar has the ability to invoke the code later in response to some event so that the action performed has access to all the environment available at the time of creation of callback (Thus calling back to the original code).

history | excerpt history