This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-12
Channels
- # aleph (1)
- # beginners (81)
- # boot (20)
- # cider (46)
- # cljs-dev (6)
- # cljsjs (6)
- # cljsrn (8)
- # clojars (2)
- # clojure (104)
- # clojure-berlin (3)
- # clojure-italy (4)
- # clojure-losangeles (2)
- # clojure-nl (16)
- # clojure-spec (16)
- # clojure-uk (28)
- # clojurescript (88)
- # core-logic (31)
- # cursive (8)
- # data-science (3)
- # datascript (1)
- # datomic (95)
- # docs (1)
- # emacs (6)
- # figwheel-main (24)
- # fulcro (106)
- # graphql (5)
- # hyperfiddle (2)
- # midje (2)
- # nrepl (1)
- # off-topic (14)
- # om-next (1)
- # parinfer (2)
- # pedestal (26)
- # portkey (2)
- # re-frame (11)
- # reagent (27)
- # ring (6)
- # rum (4)
- # shadow-cljs (33)
- # spacemacs (10)
- # specter (53)
- # tools-deps (17)
- # vim (31)
@mattly I am using https://github.com/funcool/potok it brings all the RxJS machinery with it, but I like it a lot.
👍 4
Here is (maybe little bit outdated) example project https://github.com/pepe/potok-rumu
Hi there. I’m trying to use React Router Dom with rum. <Route>
component accepts React.Component. In JSX it works this way <Route component={function here}>
Could I do something like?
(rum/defc Users [props] [:div {} "Here I can access props like :id"] )
...
(Route {:path "/users/:id/" :component Users})
...
It doesn’t work that way
but it works when I do something like that
(Route {:path "/users/:id/" :component #(Users (js->clj % :keywordize-keys true))})
And this one looks like a hack, do you guys know some better approach to do that?