This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-12
Channels
- # adventofcode (112)
- # architecture (1)
- # beginners (55)
- # boot (26)
- # cider (19)
- # cljs-dev (19)
- # cljsjs (1)
- # cljsrn (7)
- # clojure (140)
- # clojure-android (3)
- # clojure-austin (3)
- # clojure-china (3)
- # clojure-gamedev (1)
- # clojure-greece (43)
- # clojure-spec (75)
- # clojure-sweden (5)
- # clojure-uk (21)
- # clojurescript (66)
- # core-async (2)
- # core-logic (1)
- # cursive (63)
- # datascript (5)
- # datomic (4)
- # devcards (2)
- # duct (13)
- # editors (5)
- # emacs (9)
- # figwheel (4)
- # fulcro (42)
- # graphql (25)
- # immutant (7)
- # jobs (29)
- # leiningen (13)
- # lumo (7)
- # numerical-computing (3)
- # off-topic (22)
- # om (2)
- # onyx (25)
- # pedestal (3)
- # re-frame (14)
- # reagent (20)
- # remote-jobs (1)
- # ring-swagger (3)
- # rum (12)
- # shadow-cljs (9)
- # uncomplicate (1)
- # unrepl (6)
@sova yes, of course. (rum/with-key (comp))
for custom components, or just add :key
to hiccup elements
Greetings,
I am currently new at Rum and also beginner on Clojure & Cljs. Is there a way to add routing inside Rum. I am using secretary now but I have problem how to use it. I googled and just found tutorials adding secretary
on om
and reagent
but not about Rum
Is there any suggestion about where do I have to start learn routing in Rum? Thank you very much
have a look at bidi
(url matching) & pushy
(html5 history)
Thank you 🙂
@U0FR82FU1 Excuse me, do you know how to use #
in bidi
? I am so confused
do you mean hash-based navigation?
yes 🙂
i don’t know any libraries to work with hash navigation, it’s a couple lines of code tbh, I always write it myself
here’s an example https://gist.github.com/roman01la/c2f2a3fcf24f00f8b9abe7754a8c166f
use start!
function for example in Rum mixin to set current route identifier into component’s local state and then render appropriate view for that route
Thank you, I read it first 🙂