This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-15
Channels
- # admin-announcements (7)
- # alda (1)
- # aws-lambda (1)
- # beginners (12)
- # boot (20)
- # cider (59)
- # cljs-dev (4)
- # cljsrn (69)
- # clojure (232)
- # clojure-austin (3)
- # clojure-austria (1)
- # clojure-belgium (2)
- # clojure-canada (3)
- # clojure-dev (16)
- # clojure-greece (33)
- # clojure-nl (4)
- # clojure-quebec (12)
- # clojure-russia (12)
- # clojure-spec (27)
- # clojure-uk (38)
- # clojurescript (29)
- # community-development (7)
- # component (53)
- # core-async (16)
- # core-logic (1)
- # datascript (7)
- # datomic (11)
- # editors (7)
- # emacs (69)
- # hoplon (157)
- # keechma (1)
- # lambdaisland (2)
- # lein-figwheel (31)
- # leiningen (8)
- # mount (3)
- # off-topic (11)
- # om (23)
- # onyx (64)
- # planck (2)
- # re-frame (18)
- # reagent (21)
- # specter (118)
- # untangled (145)
- # yada (1)
not sure sorry, gtg
@danielcompton: No problem. Will figure it out. Thanks again for all the help.
say I have some (render-foo [] (let [loaded (r/atom false]] (fn [] [render something based on atom value)
and I want to update loaded in some way after some async data in a background has returned
The particular use case is I have a form that I want to pre-fill when that data is finally loaded
@bpicolo: when the other one come back, it needs to call a new handler
Mike Thompson's undo/redo made me think how awesome it'd be for re-frame to have something like CoreObject's UI https://www.youtube.com/watch?v=KD8xa3ku1qA (hat tip to @conaw)
Its interesting, Redux can do some pretty interesting stuff because all mutations to state are just immutable events that are reduced over to achieve final state. Makes it real easy to remove something from history and have it change state. I wonder how one might get same sort of experience with Re-frame
@darwin I don't follow your last point. The profile String is in Clojure on the server from the initial GET request to start the app. Without putting it in the JS space in the returned bootstrap html page with (javascript-tag ...), how would the re-com GUI access the String?
if I understand it correctly from your last snippet, you obtain title and profile values from request url, which is exactly the same url seen on client-side
@conaw: easy to do the same in re-frame (since before redux existed :-)) if someone wants to create the chrome extension.