This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-05
Channels
- # admin-announcements (183)
- # aws (30)
- # beginners (22)
- # boot (301)
- # cider (19)
- # cljs-dev (3)
- # cljsrn (23)
- # clojars (15)
- # clojure (136)
- # clojure-italy (8)
- # clojure-nl (4)
- # clojure-russia (19)
- # clojured (10)
- # clojurescript (134)
- # component (48)
- # cursive (7)
- # datavis (4)
- # datomic (50)
- # devcards (6)
- # events (9)
- # jobs (1)
- # ldnclj (10)
- # lein-figwheel (19)
- # leiningen (1)
- # luminus (16)
- # off-topic (5)
- # om (151)
- # proton (60)
- # re-frame (10)
- # reagent (25)
- # remote-jobs (1)
- # slack-help (3)
- # spacemacs (1)
- # vim (1)
@peterbak @nicola: This is a bit late, but it turns out there is a way to set raw html in reagent components: https://github.com/reagent-project/reagent/issues/104
@shanekilkelly: thx for answer. But i'm steel sure that content of tags like [:script] [:style] should not be encoded - should i raise discussion in mail list or here?
I think you’re right @nicola, it feels to me like script/style tags should not be escaped like that. I’d advise starting a thread on the mailing list, or opening an issue on the hiccup repo.
I'd recommend mailing list. As an aside, reagent doesnt use hiccup, just a makeshift 'hiccup-like' syntax.
@gadfly361: ok thx, i'm just trying to use garden with reagent
@gadfly361: Glad you like it. If you have questions...just ask. And yes, docker is, uhm. faster than anything else I have seen in IT 😄 At least for a 1.x release.
@virmundi: I'm working on my first re-frame app as we speak, so not an expert by any means
@peterbak: have you figured out a way to change the URL in the browser with re-frame so it's more like Angular or Secretary?
I'm using something like this:
(defn navigate-to [path]
(set! (.-location js/window) (str "/#" path))
(secretary/dispatch! path))
i got the feeling that re-frame was supposed to make secretary obsolete. I can see how it could do that if you were making a true SPA (like Word where there is no back button).
I can see how having distinct URL paths for different parts of an SPA can still be useful for things like direct linking etc
Haven't used yet, but hear good things: https://github.com/carouselapps/prerenderer/
@gadfly361: thanks
is there any way to make understanding this namespace https://github.com/reagent-project/reagent/blob/master/src/reagent/ratom.cljs simpler?
@si14: have you looked at the re-frame readme? This part will give you the concepts, which will help a bit to understand the code: https://github.com/Day8/re-frame#how-flow-happens-in-reagent