This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-23
Channels
- # aws (3)
- # babashka (17)
- # beginners (44)
- # boot (1)
- # bristol-clojurians (1)
- # cider (19)
- # clj-kondo (7)
- # cljfx (5)
- # clojure (35)
- # clojure-australia (25)
- # clojure-europe (41)
- # clojure-nl (4)
- # clojure-spec (5)
- # clojure-uk (104)
- # clojuredesign-podcast (1)
- # clojurescript (41)
- # component (6)
- # conjure (5)
- # core-async (20)
- # core-logic (5)
- # cryogen (7)
- # cursive (4)
- # data-science (1)
- # datomic (14)
- # devcards (2)
- # events (1)
- # fulcro (6)
- # helix (6)
- # jobs (4)
- # kaocha (4)
- # lambdaisland (4)
- # leiningen (3)
- # luminus (1)
- # malli (2)
- # meander (2)
- # mount (6)
- # off-topic (2)
- # pedestal (25)
- # rdf (1)
- # re-frame (17)
- # reagent (5)
- # releases (1)
- # reveal (13)
- # rewrite-clj (45)
- # shadow-cljs (27)
- # sql (18)
- # tools-deps (93)
- # vim (13)
- # xtdb (11)
Hey, I'm going through the Etudes for Clojurescript
book, and would like to know the general consensus now on which parts of the described ecosystem are up to date
for example, the book mentions the libraries (`dommy`, domina
, enfocus
) but the last commit for these one are ~6 years ago
I don't know the book but that sounds rather outdated. clojurescript hasn't changed much though so those generic parts will still be accurate. Just some libs have changed.
I've used dommy
and domina
a few years ago. Eventually rewrote everything to use clojure.browser.dom
where needed.
thanks! Could you also suggest a library for interactively displaying graphs (by which I mean, DAGs, not charts)? Is binding to d3 the current choice?
I find Vega really pleasant to work with. Theres a project called Oz by metasoarous that wraps it and works on both clojure and clojurescript.
When i switch from clojurescript 1.10.741
to 1.10.773
I started getting this error:
Uncaught Error: find-ns-obj not supported for target bundle
Whenever I try to use cljs.js, does anyone have any idea why this might be happening?core.cljs:11642 Uncaught Error: find-ns-obj not supported for target bundle
at Object.cljs$core$find_ns_obj [as find_ns_obj] (core.cljs:11642)
at Function.cljs$core$IFn$_invoke$arity$1 (core.cljs:11660)
at cljs$core$create_ns (core.cljs:11657)
at Function.cljs$js$compile_str_STAR__$_compile_loop (js.cljs?rel=1606166244828:918)
at Function.cljs$core$IFn$_invoke$arity$3 (core.cljs:3918)
at Function.cljs$core$IFn$_invoke$arity$2 (core.cljs:3913)
at Function.cljs$core$IFn$_invoke$arity$2 (core.cljs:3948)
at core.cljs:10831
at Function.cljs$core$IFn$_invoke$arity$1 (core.cljs:10826)
at Function.cljs$core$IFn$_invoke$arity$variadic (core.cljs:10831)
react-dom.development.js:327 Uncaught Error: find-ns-obj not supported for target bundle
at Object.cljs$core$find_ns_obj [as find_ns_obj] (core.cljs:11642)
at Function.cljs$core$IFn$_invoke$arity$1 (core.cljs:11660)
at cljs$core$create_ns (core.cljs:11657)
at Function.cljs$js$compile_str_STAR__$_compile_loop (js.cljs?rel=1606166244828:918)
at Function.cljs$core$IFn$_invoke$arity$3 (core.cljs:3918)
at Function.cljs$core$IFn$_invoke$arity$2 (core.cljs:3913)
at Function.cljs$core$IFn$_invoke$arity$2 (core.cljs:3948)
at core.cljs:10831
at Function.cljs$core$IFn$_invoke$arity$1 (core.cljs:10826)
at Function.cljs$core$IFn$_invoke$arity$variadic (core.cljs:10831)
Dunno. Seems like the code of find-ns-obj
hasn't changed in years.
Maybe someone with more knowledge will chime in.
hmmm. I was able to reproduce the issue (works with one version, but not with the other). there is a #bootstrapped-cljs channel that you can try for issues relating to bootstrapping
fwiw, I was able to get it to "work" with the :target
set to nodejs
bash-3.2$ node js/development/app.js
{:ns cljs.user, :value 3}
@U7RJTCH6J Hmm...that channel seems empty?
bootstrapping is pain and it's not done very often
I have posted odd questions and gotten responses from mike fikes within a few days
@U7RJTCH6J Ah, okay then. I'll ask there. Thanks.
his blog is also a good resource, but you may have to do some digging, https://blog.fikesfarm.com/tags/Bootstrap.html
I would try to help more, but I'm pretty unfamiliar with npm and bundle
and it seems like the issue might be related to using the bundle target
@U7RJTCH6J No worries. I'll dig a bit on his blog then ask.
@U050B88UR It's my first time debugging something like this so please excuse me if I spurt out some nonsense but it seems that 0c557550
has broken this scenario.
It works in 1.10.758 and doesn't in 1.10.764. The former has *target*
bound to "default"
while the latter has it bound to "bundle"
.
Okay, I've made a fairly minimal example of this problem: https://github.com/LeifAndersen/cljs-find-ns-example