Behavioral Programming with React: request, wait and block
summary
Claims that Behavioral Programming applied to React lets requirements be encoded as parallel generator-based B-threads that request wait and block events, so new rules can be added without changing existing code. Implements a small library that plugs into React/Redux, demos a tic‑tac‑toe with enforced turns and a computer opponent, and a to‑do delete flow where delete is blocked until confirmation. Demos run and enforce rules as described.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 0:54Problem
- 1:36Alignments
- 4:24Behavioral Programming
- 5:20Block
- 7:44Demo
- 12:14The main feature
- 13:47Simple implementation
- 18:19Statebased approach
- 18:58Generators States
- 19:22Interleaving
- 19:49Legacy code
- 20:34Abstract
- 20:54Recap
- 21:27Cons
- 22:04References








