Learnhow to build complete client-side applications with ClojureScript, the Clojurelanguage variant that compiles to optimized JavaScript. This hands-onintroduction shows you how ClojureScript not only has similarities toJavaScript—without the flaws—but also supports the full semantics of its parentlanguage. You’ll delve into ClojureScript’s immutable data structures, lazysequences, first-class functions, macros, and support for JavaScript libraries.
No previous experience with Clojure orClojureScript is necessary. If you’re familiar with JavaScript, HTML, CSS, andthe DOM, you’ll quickly discover that ClojureScript has the same reach asJavaScript, but with more power.
Start writing ClojureScript code with the Leiningen build system
Learn how the ClojureScript compiler works to produce optimized JavaScript
Use JavaScript functions and libraries directly from ClojureScript code
Explore functions in Clojure’s sequence library such as map, reduce, and filter
Use macros to define new control structures or embed domain-specific languages
Compile manually or script your own workflow with ClojureScript’s compiler tools
Integrate ClojureScript with Clojure on the JVM to build powerful client-server applications