ClojureScript Workshop

https://github.com/roman01la/amsterdamjs-clojurescript-workshop

Setup

Please do this before workshop. Ping me on Slack if you have any problems with setup.

  1. If you don't have it yet, download and install JDK 8 and Node/NPM (Node/NPM is optional) on your machine
  2. Install Clojure CLI
  3. Clone workshop repository that we are going to work with
  4. cd into repo's directory and execute the following commands
  • npm run build to start dev server
  • npm run ide to start IDE server, which we will work in
  1. Verify build: once initial compilation is done you should see a running app at localhost:3000
  2. Verify IDE: IDE starts at localhost:4000, you should see editor UI there

Topics

  • Syntax, variables, functions and macros
  • Threading macro (pipeline operator)
  • Primitive data types
  • Control flow
  • Data structures
  • Collections transformation
  • State
  • Interop with JavaScript
  • Namespaces
  • Building UIs

Tips

Useful links