This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-15
Channels
- # announcements (2)
- # babashka (27)
- # beginners (53)
- # boot (3)
- # calva (5)
- # cider (1)
- # clj-kondo (46)
- # cljdoc (38)
- # cljs-dev (40)
- # cljsrn (1)
- # clojars (5)
- # clojure (61)
- # clojure-europe (124)
- # clojure-germany (3)
- # clojure-losangeles (6)
- # clojure-nl (12)
- # clojure-uk (11)
- # clojurescript (44)
- # clojureverse-ops (7)
- # datomic (13)
- # events (3)
- # introduce-yourself (1)
- # jackdaw (5)
- # lsp (115)
- # malli (1)
- # off-topic (16)
- # polylith (2)
- # releases (1)
- # remote-jobs (6)
- # shadow-cljs (10)
- # sql (2)
- # timbre (1)
- # tools-deps (30)
- # vim (34)
- # xtdb (20)
I have a stupid question on the lazy loader: it works AMAZING with ui functions. But I also have normal utility functions that need to be lazy loaded. And most of this functions are synchronous. So for this functions I cannot return a different ui while they are loading. I tried many options, but it seems I cannot block util an async call is finished. Any ideas?
@hoertlehner its impossible to block so you won't find a solution to that other than going async
thanks @U05224H0W
Hi! I started developing a clojurescript app that needs to target nodejs using shadow-cljs. One of the dependencies I have is macchiato for the web-server which uses lein-npm to manage npm dependencies. Is there a way to get shadow-cljs to manage these dependencies? Currently, to make it work, I copied the dependencies to the package.json but this is mostly an hard to maintain hack
Hi all, I was wondering if it's possible to get source-maps in watch
mode for a :target :node-script
? I want to see the expressjs tracebacks in terms of my cljs code. I tried putting this in my shadow-cljs.edn
:compiler-options {:source-map true
:source-map-inline true}
But the only way I can get source maps is if I do release
mode with --debug
. Any help is much appreciated! 🙏@chris358 source maps are enabled by default for watch
in :node-script
? do you have shadow-cljs
installed in the project? you need the source-map-support
package, either intalled directly or indirectly via shadow-cljs
Ah ok, yes, I am successfully getting source-mapped tracebacks into cljs code now with no changes. I am not sure what made me think it wasn't working. sorry for the noise!
@afonsotsukamoto macchiato would need to provide a deps.cljs
file listing the :npm-deps
. not sure if it does. the leinigen files won't do anything