Hacking F# in JS ecosystem
summary
Claims that F# compiles to real, debuggable JS via Fable — F# to JS and Babel, showing a canvas particle demo and a counter app that both compile, generate source maps, and debug in Chrome. Uses Webpack for bundling and live reload; hot module replacement preserves runtime state when replacing code. Generates TypeScript-style typings from DefinitelyTyped for interop so existing JS/TS libraries work. Targets include browser, Node/Express, Electron, React Native and React VR, and the demos all run successfully.
AI-written summary · about
chapters (9)
- 0:00Introduction to talk
- 1:08Why F# language
- 12:18Why JavaScript ecosystem
- 19:33Fable compiler overview
- 22:29Live coding demo
- 28:33Elm architecture in F#
- 32:51Demo Elm architecture
- 39:50Integration with JS tools
- 41:15Use cases summary
related talks
31mHacking F# in JS ecosystem
01h 01mConquer the JavaScript ecosystem with F# and Fable!
55mF# and Fable: re-think web development
42mPractical Introduction to Building Browser Apps with F# and Fable
44mRethinking compilers with live coding
43mThe F# Path to Relaxation
30mTowards a simpler JavaScript ecosystem
01h 01mF# as a Better Python
