This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-12
Channels
- # announcements (19)
- # babashka (33)
- # beginners (96)
- # bitcoin (6)
- # cider (11)
- # circleci (5)
- # clj-kondo (22)
- # cljs-dev (4)
- # cljsjs (2)
- # clojure (65)
- # clojure-australia (9)
- # clojure-berlin (1)
- # clojure-europe (53)
- # clojure-italy (2)
- # clojure-nl (2)
- # clojure-uk (42)
- # clojurescript (9)
- # conjure (1)
- # cursive (33)
- # data-oriented-programming (1)
- # data-science (6)
- # datomic (12)
- # emacs (12)
- # fulcro (7)
- # graphql (4)
- # honeysql (5)
- # jobs (2)
- # juxt (8)
- # lsp (30)
- # malli (9)
- # off-topic (9)
- # other-languages (1)
- # re-frame (17)
- # reagent (11)
- # reitit (5)
- # releases (2)
- # remote-jobs (3)
- # shadow-cljs (39)
- # spacemacs (6)
- # sql (2)
- # testing (3)
- # tools-deps (43)
- # vim (5)
- # xtdb (11)
@joelittlejohn the [x]
will end up taking the IPrintWithWriter
path also described in the SO link you pasted. You'll need to implement that in addition to toString
.
Thanks Thomas!
Hey all, started a new luminus project with +cljs. I have things working in dev mode, but when I lein uberjar
then java -jar project.jar
and go to the browser I get the dreaded Target container is not a DOM element
when mounting. Looking into this it seems the error arises when the js loads before the DOM and to fix place the script tag at the bottom of the html file.... but that's where it is. Also baffled why it would work in dev but not in an uberjar? Any thoughts?
Here is the project.clj: https://github.com/prismofeverything/organism/blob/master/project.clj
Here is the html file: https://github.com/prismofeverything/organism/blob/master/resources/html/game.html
Here is the cljs file (with init!
highlighted): https://github.com/prismofeverything/organism/blob/master/src/cljs/organism/play.cljs#L601-L611