The :hoplon: ClojureScript Web Framework - http://hoplon.io/
flyboarder 2018-03-04T03:55:58.000008Z

@candera there is a mutation observer thing in hoplon/brew now, it’s wip and requires latest hoplon, but should make things easy enough

leobm 2018-03-05T10:45:12.000187Z

is there any example how to use the mutation! method?

flyboarder 2018-03-05T19:06:13.000785Z

@leobm not currently

flyboarder 2018-03-04T03:56:16.000021Z

basically makes it so you can implement mutation observers via attributes

candera 2018-03-04T11:46:58.000020Z

Did you find a way to actually observe a particular element being added, though? I didn’t see a good way to do that when I was looking at them.


what do you guys think of the tpl or merge-kids triggering events on the DOM elements it adds/removes?


no idea what perf of that is

candera 2018-03-04T13:27:56.000054Z

I don’t think that’s the same thing as the element entering the DOM, though, right?

candera 2018-03-04T13:28:30.000014Z

Like (div (span "whatever")) when the span gets added to the div is not particularly interesting if the div gets added to the DOM a lot later.