Navigating ClojureScript's Fire Swamps
summary
Covers concrete ClojureScript failure modes and fixes: manual externs for third‑party JS (about 95–99% of libs), how to write externs and why use externs inference (1.9.456) or cljsoops string-access wrappers instead, quirks for advanced DCE (use goog.define, type booleans, compare strings with identical), module splitting and the heavy module-loader boilerplate, and the experimental NPM deps/foreign-libs flow (React example shrinks 53KB → 32KB, ~40% savings) with required node inputs and externs.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:46Google Closure Library
- 10:54Three types of inference warnings
- 22:05Application development is the big winner
- 29:31Loading Modules in Production
related talks
27mBuilding functional Front-ends with ClojureScript
41mClojureScript for Skeptics
39mCrawling Inside the Tauntaun
38mProduction Ready ClojureScript: Tales from the Frontier
29mExtending JavaScript Libraries from ClojureScript
36m2017 in ClojureScript Web Perf & JS Ecosystem Integration
55mClojure and ClojureScript Update
34mClojureScript: The Essence of Alchemy
