~/talk

Type-Safe React with OCaml: A Practical Guide

Talkat React Alicante 2024 · 2024-09-19..09-21· [react, webassembly]
slides:none on file

Claims that OCaml gives a sound type system with 100% accurate and sound inference and practical React bindings compiled by mange into readable JS. Demonstrates using OCaml FFI to bind JS SDKs, pattern matching to eliminate boilerplate, and server rendering with native speed often reaching roughly 50% the speed of Go for simple code. Explains type inference mechanics via Henley Miller, shows a counter component compiled to familiar JSX output, and notes React Native and server APIs work end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Focus on OCaml
  3. 3:39What is OCaml
  4. 5:49OCaml for React
  5. 7:15OCaml code examples
  6. 10:54Type inference OCaml vs TS
  7. 13:26JavaScript and TS hot takes
  8. 14:29TypeScript unsoundness risks
  9. 18:48React components in OCaml
  10. 21:38React Native SSR
  11. 23:23Universal components RSC
  12. 24:28Getting started OCaml React
  13. 25:12OCaml impact on skills
  14. 26:14Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.