Hands-On Reactive Programming with Clojure by Konrad Szydlo

Hands-On Reactive Programming with Clojure by Konrad Szydlo

Author:Konrad Szydlo
Language: eng
Format: epub
Tags: COM000000 - COMPUTERS / General, COM082000 - COMPUTERS / Bioinformatics, COM006000 - COMPUTERS / Buyer's Guides
Publisher: Packt Publishing
Published: 2019-01-25T06:28:50+00:00


Setting up the Contacts project

Once again, we will use a figwheel template to help us get started. Type the following into the Terminal to create a base project using this template:

lein new figwheel contacts cd contacts

Next, let's open the project.clj file and make sure that we have the same versions for the various different dependencies the template pulls in. This is just so that we don't have any surprises with incompatible versions:

... :dependencies [[org.clojure/clojure "1.9.0"] [org.clojure/clojurescript "1.10.238"] [org.clojure/core.async "0.4.474"] [org.omcljs/om "1.0.0-beta4"]] ...

To validate the new project skeleton, still in the Terminal, type the following to auto-compile your ClojureScript source files:

lein figwheel

Now, if we navigate to http://localhost:3449/index.html in the browser, we should see the default template Hello World.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.