This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-12
Channels
- # beginners (40)
- # boot (2)
- # cider (16)
- # clara (2)
- # cljs-experience (2)
- # clojure (100)
- # clojure-italy (11)
- # clojure-russia (2)
- # clojure-spec (9)
- # clojure-uk (34)
- # clojurescript (36)
- # community-development (3)
- # core-async (4)
- # cursive (4)
- # datascript (1)
- # datomic (20)
- # duct (10)
- # emacs (1)
- # fulcro (2)
- # off-topic (40)
- # onyx (12)
- # overtone (8)
- # portkey (6)
- # quil (1)
- # re-frame (7)
- # ring-swagger (2)
- # shadow-cljs (2)
- # spacemacs (2)
- # test200 (10)
- # tools-deps (16)
- # unrepl (1)
- # vim (24)
The first one I suppose will be more efficient because in the second one a subscribe handler will be rerun after an each app-db update
if i want an fx handler to dispatch two actions can i do that? :dispatch [[::close-modal] [::remove-loader]]
<- that doesn't work for me
if i have a form of data i need to save to my database, is it better to have the form clean and attach certain data (like created-at is-template? etc) or have my event fx clean the data and add missing bits before sending it to db?
@al.vyguzov I don’t think it’s going to make an appreciable difference. I try to use what makes the most sense in terms of comprehensibility, etc first. I use the indexed entity approrach pretty heavily so stuff is usually never more than 2 or 3 ‘deep’