hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
2018-03-02T13:37:36.000424Z

@candera can you do a minimal repro with the latest hoplon?

2018-03-02T13:38:16.000278Z

maybe even try out https://github.com/hoplon/hoplon/issues/236#issuecomment-359178483

candera 2018-03-02T13:44:03.000246Z

I will try to get to that. No promises. But, by the same token, no expectations that anyone spend any time fixing this.

2018-03-02T14:18:14.000396Z

i just wonder whether this is an issue in master

2018-03-02T14:18:32.000615Z

i was getting some weird edge cases when i actually wrote tests for merge-kids

2018-03-02T14:18:39.000261Z

(that are fixed now)

candera 2018-03-02T14:21:26.000356Z

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.

2018-03-02T15:08:08.000477Z

@candera i agree that ideally when-dom is not time based

2018-03-02T15:08:28.000408Z

actually i'd like something that triggers on add and remove indefinitely

2018-03-02T15:08:37.000250Z

if you have a good idea i'm interested ๐Ÿ™‚

candera 2018-03-02T15:11:27.000080Z

Check out that CSS hack above.

candera 2018-03-02T15:11:56.000424Z

Because I tried the mutation observer thing and found it unimpressive.

2018-03-02T15:12:51.000161Z

you know i linked to the exact same article right? ๐Ÿ˜›

candera 2018-03-02T15:13:17.000604Z

Now that you mention it, that does sound familiar. ๐Ÿ™‚

candera 2018-03-02T15:13:26.000807Z

Sorry - as usual doing several things at the same time.

candera 2018-03-02T15:13:52.000619Z

When in actuality Iโ€™m lucky if I can do one halfway competently.

2018-03-02T15:33:03.000195Z

hah

2018-03-02T15:33:05.000694Z

well i didn't try it

2018-03-02T15:33:31.000762Z

i'd love to hear if it works