This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-25
Channels
- # announcements (3)
- # aws (6)
- # beginners (143)
- # boot (14)
- # calva (2)
- # cider (1)
- # clara (1)
- # clj-kondo (1)
- # cljdoc (4)
- # cljs-dev (50)
- # cljsrn (5)
- # clojure (61)
- # clojure-chicago (1)
- # clojure-europe (4)
- # clojure-italy (5)
- # clojure-nl (5)
- # clojure-spec (32)
- # clojure-uk (11)
- # clojurescript (166)
- # clojureverse-ops (2)
- # clr (3)
- # core-typed (1)
- # cursive (8)
- # datomic (21)
- # defnpodcast (1)
- # emacs (1)
- # figwheel (1)
- # figwheel-main (1)
- # fulcro (7)
- # graphql (7)
- # jobs (8)
- # leiningen (4)
- # luminus (3)
- # lumo (17)
- # mount (3)
- # nrepl (4)
- # off-topic (113)
- # pedestal (1)
- # re-frame (15)
- # reagent (2)
- # reitit (2)
- # shadow-cljs (75)
- # spacemacs (3)
- # sql (12)
- # tools-deps (44)
- # uncomplicate (2)
- # xtdb (15)
are there any pros/cons of using form-2 type of component e.g.:
(defn comp []
(let [counter (r/atom 0)]
(fn [] ,,,)))
versus using (r/with-let)
?Anybody try optimized builds? Simple works fine but I was trying to get advanced to work. I set pseudo-names to true but I cannot figure out how to get past this error. I thought it might be react-dom but i am including it from cljsjs.. Oh I am using boot to build project. Cannot read property ‘$cljs$core$IFn$_invoke$arity$3$’ of undefined at $reagent$dom$render_comp$$
it's trying to dynamically invoke a 3-arity function inside of a reagent component. is there a component name in the stack trace?
return $reagent$dom$global$0module$0react_dom$$.$render$.$cljs$core$IFn$invoke$arity$3$?$reagent$dom$global$0module$0reactdom$$.$render$.$cljs$core$IFn$invoke$arity$3$($G_8174$$,$container$jscomp$1$$,$G__8176$$):$reagent$dom$global$0module$0react_dom$$.$render$.call(null,$G__8174$$,$container$jscomp$1$$,$G__8176$$)}finally{$reagent$impl$util$STARalways_update_STAR_$$=$STARalways_update_STAR__orig_val__8172$$}} not sure if this helps. I dont see a component name. I will look at my components. This does work without name munging.