This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-22
Channels
- # announcements (2)
- # asami (123)
- # aws (17)
- # babashka (77)
- # babashka-sci-dev (23)
- # beginners (48)
- # biff (6)
- # calva (35)
- # cider (16)
- # clj-on-windows (1)
- # clj-yaml (19)
- # clojure (36)
- # clojure-europe (78)
- # clojure-nl (5)
- # clojure-norway (8)
- # clojure-poland (3)
- # clojure-uk (16)
- # clojurescript (17)
- # cursive (6)
- # datahike (3)
- # datalevin (26)
- # duct (7)
- # emacs (41)
- # events (2)
- # fulcro (7)
- # graphql (5)
- # honeysql (13)
- # juxt (3)
- # kaocha (7)
- # lsp (5)
- # malli (12)
- # off-topic (14)
- # pathom (3)
- # portal (1)
- # rdf (9)
- # reitit (3)
- # remote-jobs (2)
- # shadow-cljs (37)
- # spacemacs (5)
- # tools-build (1)
- # tools-deps (20)
- # xtdb (2)
morning, had some fun looking at your startrek example app @dharrigan yesterday. loads there, thx for putting it together
One of the things I do in the donut version (which, admittingly I could also do in the clip version, it's just that clip predates the donut version and I haven't bothered to up date it yet), is that I pass the "system", aka app-config as part of the data in reitit then access it in the handlers later (by first putting it on the request in the middleware handler)
This makes it "cleaner" in the sense I don't have to "colour" the handler functions by always passing through the app-config, as it's already on the request.
This is what I do with Component at work -- and in my usermanager example https://github.com/seancorfield/usermanager-example/blob/develop/src/usermanager/main.clj#L87
So, donut is better atm (however, like I mentioned, I could do the exact same with the clip project, just haven't updated it yet)
moorning