If we want to do editor integration with figwheel and vim-fireplace, we need to use piggieback. The document in piggieback is enough to setup it. However, it seems quite difficult to setup shadow-cljs and vim-fireplace because there is no document…
Context
I am using shadow-cljs in the clojurescript (react-native) project.
And for triggering UI rerender I am using :before-load-async and :afterload lifecycle hooks. The reagent atom is used as the key for screens and in :afterload event this key…
Something confuse me when trying use clj command line tools to compile and bundle clojurescript with npm modules.
My clj command :
clj -M --main cljs.main \
--repl-opts "{:launch-browser false}" \
--compile hello.core --repl
And my…
I am trying to use Joy UI and its dark mode https://mui.com/joy-ui/customization/dark-mode/ in my cljs project and am stuck with translating the part below to cljs code.
import * as React from 'react';
import { CssVarsProvider, extendTheme } from…
I have a triply nested component (in different files) in Reagent + ShadowCLJS. When editing and saving this file, the changes don't show immediately until editing and saving the parent component.
For example, NAV is nested in DASHBOARD which itself…
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.
Currently, dependencies are being declared on project.clj, on shadow-cljs.edn, and on…
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 one of the private repositories, there is a deps.edn file with the following…
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 shadow-cljs watch app. It works fine. I can use…
I have been using Clojure, ClojureScript, lein, shadow-cljs, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project.
There is the main repository, let's call it principal. And also a supporting repository, let's call it…
I used npx create-cljs-project my-app and revived error when I tried to start with npm start
I have tried few java ask version, but I get same error anyway.
shadow-cljs - config: /Users/tomaszsikora/dev/my-app/shadow-cljs.edn
Execution error…
I am using Emacs, CIDER, and shadow-clj/shadow-cljs to develop a project
in Clojure/ClojureScript. All this in a macOS Monterey 12.5.
Before that, I was used to programming with Emacs, Slime, Common Lisp, and SBCL.
Sometimes, I want to have a…
While building the web app for a new firebase deploy, I have been using:
$ shadow-cljs compile app
Actually, even clearing stuff and then re-compiling, such as:
$ rm -rf .shadow-cljs
$ shadow-cljs compile app
Apparently, the release command could…
I am trying to install shadow-cljs in a MacOS Monterey 12.5. I am new to the Apple ecosystem, to npm, and Clojure/ClojureScript stack. This a new world for me.
This is the project folder, as you can see there is already a package.json…
I'm getting this error while trying to build a Clojurescript project with shadow-cljs. The error is happening with the optimization level set to simple.
The full output in the browser console looks like this:
js.js:74 shadow-cljs - failed to load…
Is there a cljs test runner that works on emacs and not in the browser that offers good navigation between tests and simplifies information about which tests passed and which failed?l