This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-03
Channels
- # beginners (50)
- # cider (6)
- # cljdoc (2)
- # cljs-dev (19)
- # clojars (2)
- # clojure (20)
- # clojure-dev (35)
- # clojure-italy (2)
- # clojure-norway (12)
- # clojure-uk (17)
- # clojurescript (7)
- # data-science (3)
- # datomic (10)
- # emacs (2)
- # events (1)
- # figwheel-main (2)
- # fulcro (8)
- # graphql (1)
- # juxt (3)
- # nrepl (4)
- # off-topic (23)
- # parinfer (1)
- # pathom (63)
- # re-frame (7)
- # reagent (1)
- # reitit (5)
- # ring-swagger (1)
- # shadow-cljs (23)
- # tools-deps (16)
I'm using shadow in "npm" mode. I'm trying to use devcards for both reagent and "raw" react components
@souenzzo it is intended that you use all your source-paths all the time. a build only includes whatever is required. https://code.thheller.com/blog/shadow-cljs/2018/02/08/problem-solved-source-paths.html
namespaces already provide enough separation. no need to do it at the source-path level
hmm, I am working on bringing maria.cloud up to the latest shadow-cljs version (it was on 2.2.x
). I found that something changed in 2.3.9
which causes ReferenceError: goog is not defined
errors when loading cljs.core macros (`/js/compiled/bootstrap/js/e9a22ddf.cljs.core$macros.js`), the stacktrace points to the first line, goog.provide('cljs.core$macros');
.
Not a lot changed between 2.3.8 and 2.3.9, https://github.com/thheller/shadow-cljs/compare/2.3.8...2.3.9
hmm, it doesn’t look like the code in the 2.3.8 jar matches the code with the 2.3.8 tag on github
so i think at least the changes from 2.3.7 (on github) also are included in the cause
so does the output-wrapper stuff mean that there wouldn’t ever be name collisions from advanced builds with other random global variables?
its basically just a function wrapped arround the code so it has its own scope instead of global