~/talk

ReasonML: React as a Language and what the Future looks like

Talkat GOTO Chicago 2019 · 2019-04-29..04-30· [react]
speakerdeck:peterpme
slides:none on file

A visual mobile app builder (Draftbit) runs a compiled compiler in the browser and a WebAssembly phone preview, with layers gradually ported from JavaScript to Reason for fewer runtime errors and much faster feedback. The stack uses Reason/OCaml + BuckleScript to target JavaScript, Expo + React Native, GraphQL/Apollo and Postgres; GraphQL cuts ~30% server and ~70% client code in this workflow. BuckleScript compiles in milliseconds and enables aggressive tree-shaking (immutable.js 55KB → 899 bytes).

AI-written summary · about

  1. 0:00Intro
  2. 1:411. Scan QR Code 2. Drag Component
  3. 7:04We used to start with Javascript
  4. 11:02amazing developer productivity
  5. 12:13A functional programming language
  6. 12:26Powerful pattern matching, functions
  7. 16:04What does a React component look like?
  8. 20:34Belt is the standard library shipped with Reason
  9. 21:28Convert your array into a React element
  10. 21:49Hooks are the future
  11. 24:22Pattern matching is a switch statement on steroids
  12. 27:15gen Type generates bindings between Reason & JavaScript
  13. 30:53How do I add Reason to my Javascript project?
  14. 33:37The compiled JavaScript is readable
  15. 35:28The compiled JavaScript is faster
  16. 36:16Webpack 55,000 Bytes
  17. 36:52Binding Javascript to Reason
~/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.