Questions tagged [shadow-cljs]

shadow-cljs is a tool that facilitates compiling your ClojureScript code for different targets

Resources

90 questions
0
votes
1 answer

How does shadow-cljs handle duplicates of the same dependency with difference versions on the shadow-cljs.edn file?

I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. In my shadow-cljs.edn, I have: {:source-paths ["src" "dev"] :dependencies…
0
votes
1 answer

How to use environment variables on GitHub actions without hard coding them? Is it possible?

I am using GitHub Actions to implement a Continuous Integration process on a Clojure/ClojureScript dynamic web app project. It uses a library called shadow-cljs for the compilation. At the end of my yaml file, I have the current approach: -…
0
votes
1 answer

Are the added dependencies really been compiled by shadow-cljs? If so, why do the values stay the same?

I am following shadow-cljs Quick Start documentation on a minimal example of a project. Here is the link. Initially, I had this shadow-cljs.edn file: ;; shadow-cljs configuration {:source-paths ["src/dev" "src/main" "src/test"] :dev-http…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

Where is the "Hello world" going to be printed after following shadow-cljs documentation to watch the app?

I am following shadow-cljs Quick Start documentation on a minimal example of a project. Here is the link. I have this shadow-cljs.edn file: ;; shadow-cljs configuration {:source-paths ["src/dev" "src/main" "src/test"] :dev-http {8080…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

What is the difference between using package-lock.json or shadow.cljs.build-report to track changes in dependencies?

I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project by executing the command cider-jack-in-cljs in Emacs, choosing…
0
votes
1 answer

Why is "shadow-cljs cljs-repl app" still working while cider-jack-in-cljs is retrieving an error?

I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project by executing the command cider-jack-in-cljs in Emacs, choosing…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
0 answers

fullstack clojurescript development with Calva Jack-in

Please comment how to start backend and frontend with Calva Jack-in. There is a clojurescript project for a web-application, I started REPL with calva jack-in (deps.edn + shadow-cljs), and tried to evaluate the function start!/stop! in the REPL.…
madeinQuant
  • 1,721
  • 1
  • 18
  • 29
0
votes
1 answer

How to make the connection between Emacs, Cider, and shadow-cljs be less repetitive per project?

I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project by executing the command cider-jack-in-cljs in Emacs, choosing…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
0 answers

Why does the download button behavior on local development depend on the build using `shadow-cljs watch app` or `shadow-cljs serve`?

I have been using Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. The UI has a download button. For the purpose of this SO question, let's abstract it as an interface with the…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

How to handle the new HTTP configuration for shadow-cljs?

I have been using Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project by executing the command cider-jack-in-cljs in Emacs, choosing shadow-cljs, then…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

How to know which http server is this Clojure/ClojureScript project using? And how to make the HTTP server be `:dev-http`?

I have been using Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project by executing the command cider-jack-in-cljs in Emacs, choosing shadow-cljs, then…
0
votes
1 answer

Why does this re-frame command only work when the browser is on a specific local host address? Shouldn't it be just an interface to the the database?

I have been using Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project executing command cider-jack-in-cljs in Emacs, choosing shadow-cljs, then shadow…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

How to make the browser connection to the shadow-cljs nREPL be longer?

I have been using Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Usually, I build the project executing command cider-jack-in-cljs in Emacs, I choose shadow-cljs, then shadow…
0
votes
1 answer

Why I can start CIDER's Clojure REPL without a project (no error message) but starting CIDER's clojureScript REPL without a project returns an error?

I have been using with some success the stack of Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER. Usually, inside a project and for ClojureScript projects, I do: cider-jack-in-cljs, I choose shadow-cljs, then shadow for REPL type, and…
0
votes
1 answer

Why does CIDER's REPL some times start as "shadow.user>" and in others it starts as "cljs.user>"?

I am using Clojure, ClojureScript, shadow-cljs, Emacs, Cider, and Lein to develop a web app project. This is the usual workflow: inside a project and for ClojureScript projects, execute cider-jack-in-cljs, choose shadow-cljs, then shadow for REPL…