Why React is just better in Reason
summary
Claim: Reason plus React removes whole classes of runtime errors by making props and children typed and by giving exhaustiveness checks for UI state. Concrete tools demonstrated: BuckleScript for idiomatic JS output, %raw to interop with existing JS, and react.onArray to track keyed elements at compile time so key warnings become compile‑time errors. Refs map directly to React refs, ReasonReact Router shows pattern‑matching on path lists, and proposed JSX changes simplify props, keys, and ref handling.
AI-written summary · about
chapters (17)
- 0:00Start
- 1:12Today
- 1:45Disclaimer
- 2:06Philosophy
- 2:36Preferring Immutab Values
- 4:38Escape Hatche
- 8:18Interoperability an gradual adoption
- 10:52Quick Context
- 16:58Types
- 17:39First Class Language
- 19:55Explicit handling a "elements"
- 20:59Props are separate fro implementation
- 22:47Control over the type
- 23:24createElement -
- 28:21Key Warnings - Gateke
- 28:36Key Warnings - Re
- 31:46Others?








