Get started with Reason
summary
Reason compiles to native and JavaScript via BuckleScript, giving millisecond compile times, and uses variant types and pattern matching to make impossible states impossible; the compiler infers most types so prototypes stay fast. The UI uses ReasonReact reducer component style (actions as variants, send/dispatch) with labeled props, optional types instead of null, and GraphQL bindings that generate Reason types — demos include a working counter and interoperable JS component wrappers.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:32Reason syntax
- 1:19Oak
- 2:39Object
- 3:21Pocket Script
- 5:06Format reformat
- 6:01Statically typed language
- 9:49Data structure variance
- 17:10Sir Charles Anthony Richard
- 18:48Variants
- 20:13Reason React
- 23:15Reason React State
- 27:45Reason React JavaScript
- 33:06Conclusion








