This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-25
Channels
- # aws (1)
- # beginners (60)
- # boot (12)
- # cider (7)
- # cljs-dev (8)
- # cljsrn (24)
- # clojure (169)
- # clojure-nl (1)
- # clojure-russia (3)
- # clojure-spec (15)
- # clojure-switzerland (1)
- # clojure-uk (24)
- # clojurescript (120)
- # core-async (9)
- # datomic (3)
- # emacs (2)
- # gsoc (3)
- # klipse (2)
- # leiningen (4)
- # numerical-computing (13)
- # off-topic (95)
- # om (7)
- # onyx (1)
- # powderkeg (2)
- # protorepl (2)
- # re-frame (6)
- # reagent (58)
- # ring-swagger (1)
- # rum (28)
- # untangled (42)
- # vim (6)
@souenzzo Dispatch basically is for delivering events from view/ajax etc., as far as I know. In which cases do you need to dispatch from subscription?
I was thinking of: some component requests the content X, if this content does not exist (nil), then I send a dispatch. In case of failure, I write a "false".
If I was in you place, I’d wrote utility function which checks input and dispatches error. And use that function from components.
@souenzzo no, you shouldn't
Is Dmitri Sotnikov’s Web Development with Clojure, 2nd Ed (https://pragprog.com/book/dswdcloj2/web-development-with-clojure-second-edition) a good guide to getting a handle on how clientside and serverside Clojure/Script works for developing web apps? (I’m mostly looking for a Clojure/Script version of Michael Hartl’s Ruby on Rails Tutorial (https://www.railstutorial.org/book/))