This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-28
Channels
- # announcements (6)
- # aws (8)
- # bangalore-clj (1)
- # beginners (249)
- # calva (27)
- # cider (5)
- # clara (8)
- # clj-kondo (11)
- # cljs-dev (14)
- # cljsrn (21)
- # clojars (1)
- # clojure (206)
- # clojure-europe (3)
- # clojure-greece (2)
- # clojure-italy (39)
- # clojure-nl (19)
- # clojure-spec (50)
- # clojure-uk (19)
- # clojurescript (31)
- # clojurex (24)
- # community-development (10)
- # core-async (32)
- # core-typed (4)
- # cursive (8)
- # data-science (15)
- # datomic (42)
- # figwheel (1)
- # fulcro (18)
- # graalvm (6)
- # joker (1)
- # kaocha (1)
- # nyc (1)
- # off-topic (1)
- # reagent (5)
- # reitit (2)
- # remote-jobs (2)
- # shadow-cljs (3)
- # spacemacs (2)
- # tools-deps (65)
- # xtdb (3)
can figwheel be configured to reload clojure code? according to the documentation this should be possible, but I couldn't figure out how
AFAIK, Figwheel supports reloading macros in clojure files which your affected cljs code depends on, not clojure in general, better ask in #figwheel
ClojureScript doesn't have vars, only in repl
some things are possible via macros - but I would consider this a relatively advanced technique
> in general you should avoid var oriented programming Can you explain why I shouldn’t?
React spring I mean: https://www.react-spring.io/docs/hooks/basics
in ClojureScript it really requires a an expert understanding of runtime vs. macro time and compiler details
@dnolen so why clojurescript doesn’t implement vars like clojure? Is it performance or closure compiler issues?
also by eliminating vars you eliminate dynamism which would thwart advanced optimization
if you have questions about this - Rich Hickey's announce talk in 2011 might cover this
Generic clojure question here. I have an array of maps. Each map has an attribute :id. I want to replace the array element having the :id "foo" with another map. Is there a simple way to do this in clojure/clojurescript?
easy-peasy!