© 2023 Hashnode
#clojurescript
A closure in JavaScript is a function that has access to its outer (enclosing) function's variables and parameters even after the outer function has returned. In other words, a closure "closes over" i…
How to use Material UI in ClojureScript? With shadow-cljs and Reagent this is piece of cake: Start new project e.g.lein new reagent-frontend <myproject> Install MUI:npm install @mui/material @emoti…
Let me share with you my personal opinion about most popular editors and IDEs in the Clojure world. VsCode and Calva + It is vscode. It is quite popular editor now, so you can have one editor for all …
Video version https://youtu.be/oguZnsrUQBo The question Clojure is a hosted programming language. This means what you wrote in Clojure will run in an environment of another language. The most popular implementation of Clojure turns Clojure…
I know I know, there are thousands of such topics all over the internet - but let me describe the best resources in my opinion: [Book] Clojure for the Brave and True - great book if you have no idea…
ClojureScript is a Clojure compiler that generates JavaScript code. Clojure is a high-level, functional programming language that runs on the Java Virtual Machine (JVM), and has access to all Java lib…
Recently I was tasked with setting up a project with ClojureScript and Phoenix. I tried to check the internet for a "how-to" but did not find an up-to-date guide on completing this setup. After some r…
https://youtu.be/KVWxr9dvGZ8 Clojure and ClojureScript are forms of the same language targeting different hosts - JVM and JavaScript respectively. If you are creating a library, there is a big chance …
Here we are going to create a Clojure library, pack it to a JAR file, deploy it to a Maven repository and make its code available from Clojure and ClojureScript projects. We will create the simplest p…
Note for readers This article was written for those who want to understand how to work with Clojure CLI (command line interface), and how to configure it with deps.edn files. There are 2 official arti…