Pack your Callbags! A New Spec for Streams
summary
Proposes Callbags as a tiny spec that unifies pull and push streams by treating interactions as messages start/data/stop as 0/1/2, shows plain JavaScript operators (map/filter in three to four lines) and points to the example repo callbags-utahjs and callbag-basics. Builds a React demo that fetches dog images from the Dog CEO API every 10 seconds and wires a dropdown to send upstream messages to change breed, which works. Notes ~120+ community operators and pitches it as a lightweight alternative to pulling in RxJS — push-and-pull unified and demo proves upstream control
AI-written summary · about
chapters (10)
- 0:00Intro
- 1:15Callbacks
- 2:46Streams
- 7:52Unified API
- 9:11Polar Bowl
- 10:03Summary
- 11:29Code Example
- 17:44Why Use Callbags
- 19:41Geysers
- 22:04Demo








