This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-02
Channels
- # aleph (6)
- # beginners (57)
- # boot (1)
- # cider (27)
- # clara (23)
- # cljs-dev (166)
- # clojure (287)
- # clojure-dev (23)
- # clojure-greece (1)
- # clojure-italy (2)
- # clojure-russia (13)
- # clojure-spec (34)
- # clojure-uk (36)
- # clojurescript (68)
- # core-async (63)
- # core-logic (1)
- # cursive (1)
- # data-science (1)
- # datomic (26)
- # duct (1)
- # emacs (10)
- # figwheel (8)
- # fulcro (2)
- # garden (16)
- # graphql (8)
- # hoplon (20)
- # jobs (2)
- # leiningen (10)
- # off-topic (16)
- # onyx (2)
- # portkey (5)
- # quil (1)
- # re-frame (63)
- # reagent (95)
- # reitit (6)
- # remote-jobs (1)
- # ring (6)
- # rum (1)
- # shadow-cljs (76)
- # spacemacs (26)
- # specter (11)
- # sql (7)
- # unrepl (68)
- # vim (2)
- # yada (2)
@candera https://github.com/hoplon/hoplon/issues/238#issuecomment-362920150 😛
@candera can you do a minimal repro with the latest hoplon?
maybe even try out https://github.com/hoplon/hoplon/issues/236#issuecomment-359178483
I will try to get to that. No promises. But, by the same token, no expectations that anyone spend any time fixing this.
i just wonder whether this is an issue in master
i was getting some weird edge cases when i actually wrote tests for merge-kids
(that are fixed now)
If you get really curious, I would imagine the repro isn’t too bad. You just need to have an element that has an attribute like :click and that doesn’t get added to the DOM immediately, or gets added and removed right away (not sure). You might not get 100% CPU like I am with just one element, but a profile should show you spending an awful lot of time in when-dom
’s doit
.
@candera i agree that ideally when-dom
is not time based
actually i'd like something that triggers on add and remove indefinitely
if you have a good idea i'm interested 🙂
you know i linked to the exact same article right? 😛
well i didn't try it
i'd love to hear if it works