This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-11
Channels
- # babashka (3)
- # beginners (70)
- # calva (15)
- # cider (34)
- # clara (10)
- # cljsrn (2)
- # clojure (28)
- # clojure-europe (21)
- # clojure-france (1)
- # clojure-uk (17)
- # clojuredesign-podcast (4)
- # clojurescript (51)
- # cursive (21)
- # data-science (1)
- # datalog (2)
- # datascript (2)
- # datomic (10)
- # emacs (5)
- # esprit (24)
- # expound (9)
- # figwheel-main (15)
- # fulcro (31)
- # graphql (3)
- # jobs-discuss (27)
- # keechma (2)
- # luminus (2)
- # malli (2)
- # minimallist (14)
- # nrepl (1)
- # off-topic (4)
- # pathom (1)
- # pedestal (8)
- # re-frame (10)
- # reagent (5)
- # reitit (2)
- # rewrite-clj (54)
- # sci (1)
- # shadow-cljs (34)
- # spacemacs (12)
- # sql (17)
- # vim (16)
- # web-security (1)
Does this looks attractive to other re-frame users? If so, might be good to show your support https://github.com/day8/re-frame/issues/639#issuecomment-671616527.
(defn set-something [m]
(assoc-in m [:db :something] (get-in m [:event 1])))
(defn fetch-data [m]
(update-in m [:fx] conj {:http {:url "" :method "GET"}}))
(defn dispatch-other [m]
(update-in m [:fx] conj {:dispatch [:other]}))
(reg-event-fx2 :token (comp set-something fetch-data dispatch-other))
Nothing like trying to rewrite re-frame to prove re-frame is well designed. Here's where I got to before I realised that I was missing lots of secondary goodness https://gist.github.com/olivergeorge/875e5a3099e849be0ac4e87baef57fbf
Is it possible to ignore a dispatch in a test?
I don't want to execute a graphql query but want the other events in the dispatch-n to be fired off
I'm using re-com. Is there a built-in way to close a popover when you click outside of it?
Hi all, I created a new re-frame app with the re-frame-template. With Shadow CLJS running, when I save the app my app is rebuilt but I still have to push refresh to see my updates in the browser. What config do I need to add to see the updates automatically?
@USDPTD3FY re-frame-template should create this code for you from https://github.com/day8/re-frame-template/blob/master/src/leiningen/new/re_frame/src/cljs/core.cljs#L18 Did you happen to delete core or re-write it ? Or is that problem reproducible somehow with a freshly generated project ?