1. React
  2. JSNation
  3. 2018
  4. Callback Heaven

Callback Heaven

Go beyond reactive programming (Promises, Observables, etc) and take a fresh look at plain old callbacks.

Andre Staltz at JSNation 2018

Programming with callbacks has been every JavaScript programmer's struggle since always. "Callback hell" is the reason why we have created Promises, Observables, reactive programming libraries, and other smart tools to help us avoid using callbacks directly. In this talk, we'll go beyond reactive programming and take a fresh look at callbacks. We will discover an incredible pattern among simple callbacks, that allows us to do everything that Observables or Promises or Iterables can do, and through familiar functional APIs. That pattern is fondly named "Callbags".