This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-02
Channels
- # announcements (4)
- # aws (18)
- # beginners (227)
- # boot (1)
- # calva (13)
- # cider (22)
- # clara (2)
- # cljs-dev (17)
- # clojure (85)
- # clojure-brasil (2)
- # clojure-dev (55)
- # clojure-europe (2)
- # clojure-italy (18)
- # clojure-japan (4)
- # clojure-losangeles (1)
- # clojure-nl (5)
- # clojure-uk (53)
- # clojurescript (46)
- # clojureverse-ops (8)
- # cursive (17)
- # data-science (3)
- # datascript (3)
- # datomic (25)
- # duct (4)
- # emacs (2)
- # figwheel-main (1)
- # fulcro (9)
- # hoplon (2)
- # hyperfiddle (1)
- # jobs-discuss (5)
- # kaocha (7)
- # leiningen (3)
- # nrepl (50)
- # off-topic (32)
- # portland-or (1)
- # re-frame (19)
- # reitit (2)
- # shadow-cljs (30)
- # spacemacs (2)
- # sql (8)
- # tools-deps (4)
- # vim (26)
- # xtdb (3)
- # yada (8)
@richiardiandrea shadow-cljs doesn't do any classloader magic BUT once native-image is compiled you can't change the classpath at all
so you could create a native-image on the client after all :dependencies were configured but that is completely impractical
Will except that my colleagues always complain when CI is slow 😄 but maybe that it more of a people's problem
In CI no, unfortunately we were on Azure
They are slowly adding it to Azure so maybe soon this problem will go away
no clue how azure CI works but if you can persist some state between builds it should be easy
typical CI caching is pretty shitty for this actually since it usually just takes a hash of some file which isn't enough
yeah I think I will need to do that
It would be worth adding it for CI builds
I noticed something in the version 2.8.33 when trying to load multiple aliases like shadow-cljs -A:dev -A:nrepl
this works with clj. It only takes the last from what I can deduce. Is there some trick to get them both to load?
Hi guys, got myself an interesting challenge again. I’m trying to write a React Native app that uses WebAudio. From what I’ve been able to find, this requires using a native webview in my app, for which I use the react-native-webview (https://github.com/react-native-community/react-native-webview) module. The API of that web view requires that Javascript is injected into it as a string. I want that to be ClojureScript, so I want to use shadow-cljs to compile the clojurescript to javascript, in my app read that javascript file and inject its contents into the webview. So my question is: can I tell shadow-cljs somehow to output everything in a single file, even in dev mode, instead of the multitude of files that are created by default?
it might not work but try setting :devtools {:loader-mode :eval}
in the build config
Thanks @thheller I’ll give it a shot. I was not expecting the live reload to work for the audio part. It would be extremely cool to have a REPL in there though, that would beat any JS dev tool out there for embedded web views 🙂
https://clojureverse.org/t/improving-initial-load-time-for-browser-builds-during-development/2518
Will except that my colleagues always complain when CI is slow 😄 but maybe that it more of a people's problem
@heikki.hamalainen i don’t know if your issue is completely resolved, or if this helps, but i don’t use a dynamic require with cljs-http
and xhr2
: https://github.com/r0man/cljs-http/issues/94#issuecomment-426442569
(though i’ve stopped using cljs-http because of https://github.com/r0man/cljs-http/issues/121)