This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-07
Channels
- # aleph (15)
- # beginners (18)
- # boot (18)
- # business (1)
- # cider (11)
- # cljs-dev (13)
- # cljsrn (19)
- # clojure (14)
- # clojure-austin (8)
- # clojure-dusseldorf (1)
- # clojure-finland (1)
- # clojure-greece (118)
- # clojure-poland (3)
- # clojure-russia (46)
- # clojure-spec (65)
- # clojure-uk (18)
- # clojurebridge (3)
- # clojurescript (16)
- # cloverage (7)
- # core-async (8)
- # cursive (74)
- # datomic (28)
- # editors (3)
- # emacs (3)
- # ethereum (5)
- # hoplon (19)
- # jobs-rus (18)
- # lein-figwheel (1)
- # off-topic (2)
- # om (107)
- # om-next (4)
- # onyx (23)
- # pedestal (23)
- # proton (3)
- # protorepl (1)
- # re-frame (108)
- # reagent (10)
- # ring-swagger (15)
- # spacemacs (2)
- # specter (11)
- # testing (7)
- # untangled (79)
- # vim (4)
- # yada (53)
hey, is there some way to respond to an element being rendered?
so i can avoid attempting to interact with it before it is ready
i’m currently trying things like [(div “foo”) (script :load #(reset! ready? true))]
but it doesn’t feel like the best solution
that doesn’t even work anyway 😞
something like this maybe?
(let [ready? (j/cell= nil)])
(h/with-timeout 0 (reset! ready? true))
(j/cell= (when ready? ...))
(h/div "foo”)
@flyboarder @micha - someone else tackled the Clojurescript bound-fn
problem too in a similar way: https://github.com/binaryage/cljs-zones
oh cool - yeah , looks like same technique
Very interesting!
yeah i went back and forth with that, in the end chose the transparent way even if it's not as efficient
@alandipert @micha I ran into the javelin bug again I described a couple days ago so I made a minimal repro case: https://github.com/AdamFrey/javelin-bug
cool! Hoplon/ui could use an authoring tool like this at some point when the API settles down: https://www.kickstarter.com/projects/298226251/subform-a-modern-tool-for-digital-product-designer
@vigilancetech I was looking at something like that, it wouldn't need to wait for hoplon/ui at all, something similar to https://polymer-designer.appspot.com/