This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-28
Channels
- # announcements (11)
- # aws (30)
- # beginners (98)
- # calva (11)
- # cider (42)
- # clj-kondo (4)
- # cljdoc (1)
- # cljsrn (5)
- # clojure (132)
- # clojure-europe (4)
- # clojure-ireland (1)
- # clojure-italy (35)
- # clojure-japan (2)
- # clojure-nl (5)
- # clojure-spec (5)
- # clojure-uk (24)
- # clojurescript (71)
- # clojutre (1)
- # core-async (6)
- # cursive (9)
- # data-science (4)
- # datascript (3)
- # datomic (78)
- # duct (16)
- # emacs (14)
- # events (2)
- # fulcro (141)
- # graalvm (5)
- # hoplon (14)
- # hyperfiddle (2)
- # jobs-discuss (14)
- # joker (8)
- # luminus (2)
- # off-topic (7)
- # om (1)
- # pathom (4)
- # pedestal (7)
- # planck (2)
- # quil (1)
- # re-frame (14)
- # reagent (2)
- # reitit (14)
- # robots (1)
- # shadow-cljs (20)
- # spacemacs (25)
- # specter (1)
- # sql (122)
- # tools-deps (63)
- # unrepl (2)
- # yada (34)
Has anyone managed to get Reitit to play nicely with Component
?
I just got it to play nicely.
Actually, I need to solve the "Reload-workflow" issue first. But I think it is minor issue, maybe not. So not 100% nicely yet. I will share my code once that works as well! @lilactown. But my endpoint is at least working atm.
Not sure how to solve this one. Component gives me some nice structure (enforcing scoping) but I can't "Live code" my routes anymore without re-starting stuff
perkele. I just realised this is how life is when you use Component.
I know this doesn't help you now, but I've switched from using Component to mount, and things get a little simpler.
yeah I guess I could give Mount another shot
It felt a bit Dirty to use Mount though, to me it was so "Easy" to just reference a Global var and boom you have hidden dependencies. @U0JAE119P
You're right, it's very easy to head down that path, so I would say that's a downside. Sadly.
I looked a bit at integrant and decided integrant is nice. Now I just use the (reset) command 🙂